Re: [R] About uniroot error

2018-09-25 Thread Tania Morgado Garcia
again El mar., 25 sept. 2018 a las 10:29, Michael Dewey () escribió: > Dear Tania > > Without your dataset I am not sure but a comment below to suggest where > to look next. > > On 24/09/2018 18:37, Tania Morgado Garcia wrote: > > Thanks for your answers. I continue

[R] About uniroot error

2018-09-24 Thread Tania Morgado Garcia
Thanks for your answers. I continue to learn R and now I am detained in an error with uniroot that I see happens to others but I can not find the solution. Next the code x1 <- BAaxOrd$V1 y1 <- BAaxOrd$V2 x1R <- BAaxOrdRCOS$V1 y1R <- BAaxOrdRCOS$V2 FCOS1 <- splinefun(smooth.spline(x1,y1)) FRCOS1

[R] Spline function

2018-08-14 Thread Tania Morgado Garcia
Hello everyone. I'm new to R and I'm using spline functions. With the command splinefun (x, y) I get the function of interpolating the values x and y. Later, I can evaluate that function for values of x by obtaining the respective values of y. The point is that I need the inverse operation, with