Displaying 3 results from an estimated 3 matches for "nderiv".
Did you mean:
deriv
2005 Oct 03
3
spline.des
Hello, I am using library fda and I can not run a lot of functions because
I receive the error:
Error in bsplineS(evalarg, breaks, norder, nderiv) :
couldn't find function "spline.des"
do you know how I can fix that? Thnaks. Liliana
2013 Feb 28
2
predict.smooth.Pspline function not found
...The code with which I'm
working is more complicated, but the following highlights my problem. If I
run the following code
> tt <- seq (0,1,length=20)
> xt <- tt^3
> fit <- smooth.Pspline (tt, xt, norder=3,spar=0.0001, method=1)
> pred<- predict.smooth.Pspline (fit, tt, nderiv=0)
I get this error:
"Error: could not find function "predict.smooth.Pspline" "
So it seems like "smooth.Pspline" is loading but "predict.smooth.Pspline"
isn't. Any ideas about why this might be the case?
-Zoe Richards
[[alternative HTML version del...
2003 Apr 01
2
predict in Pspline package (PR#2714)
...R and Pspline.
predict.smooth.Pspline produces only NaN instead of predicted values
when norder>2:
> library (Pspline)
> tt <- seq (0,1,length=20)
> xt <- tt^3
>
> fit <- smooth.Pspline (tt, xt, norder=3,spar=0.0001, method=1)
> predict.smooth.Pspline (fit, tt, nderiv=0)[,1]
[1] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
NaN NaN NaN
[20] NaN
>
smooth.Pspline seems to work fine since
>plot (tt,xt)
>lines (fit)
produces the expected result (curve fits data closely). Using norder
= 2 instead works fine:
> fit2 <- smooth.Ps...