Converts fdata class object into fd class object
Converts fdata
class object into fd
class object using
Data2fd
function.
fdata2fd( fdataobj, type.basis = NULL, nbasis = NULL, nderiv = 0, lambda = NULL, ... )
fdataobj |
|
type.basis |
Type of basis. A function |
nbasis |
Number of basis which is used in |
nderiv |
Order of derivation which is used in |
lambda |
Weight on the smoothing operator specified by |
... |
Further arguments passed to or from other methods. |
Return an object of the fd
class.
Manuel Febrero-Bande, Manuel Oviedo de la Fuente manuel.oviedo@usc.es
Febrero-Bande, M., Oviedo de la Fuente, M. (2012). Statistical Computing in Functional Data Analysis: The R Package fda.usc. Journal of Statistical Software, 51(4), 1-28. http://www.jstatsoft.org/v51/i04/
## Not run: data(phoneme) mlearn<-phoneme$learn[1] fdata2=fdata2fd(mlearn) class(mlearn) class(fdata2) fdata3=fdata2fd(mlearn,type.basis="fourier",nbasis=7) plot(mlearn) lines(fdata2,col=2) lines(fdata3,col=3) fdata5=fdata2fd(mlearn,nderiv=1) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.