fdata.cen | R Documentation |
The function fdata.cen centres the curves by subtracting the functional mean.
fdata.cen(fdataobj, meanX = func.mean(fdataobj))
fdataobj |
|
meanX |
The functional mean subtracted in the |
Return:
two fdata
class objects with:
Xcen |
The centered fdata. |
meanX |
Functional mean substracted. |
Manuel Febrero-Bande, Manuel Oviedo de la Fuente manuel.oviedo@udc.es
See Also as fdata
## Not run: data(phoneme) mlearn<-phoneme[["learn"]][13:15,] fdata.c=fdata.cen(mlearn)$Xcen par(mfrow=c(1,2)) plot(mlearn,type="l") plot(fdata.c,type="l") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.