View source: R/summary.fdata.comp.r
summary.fdata.comp | R Documentation |
Summary of functional principal components
## S3 method for class 'fdata.comp' summary(object, biplot = TRUE, ...)
object |
fdata.comp class object calculated by: |
biplot |
=TRUE draw the biplot and PC (or PLS) components. |
... |
Further arguments passed to or from other methods. |
If corplot
=TRUE, are displaying the biplot between the PC (or PLS) components.
If ask
=TRUE, draw each graph in a window, waiting to confirm the change
of page with a click of the mouse or pressing ENTER. If ask
=FALSE draw graphs in one window.
Manuel Febrero-Bande and Manuel Oviedo de la Fuente manuel.oviedo@udc.es
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988). The New S Language. Wadsworth & Brooks/Cole.
Venables, W. N. and B. D. Ripley (2002). Modern Applied Statistics with S. Springer-Verlag.
See Also as fdata2pc
, fdata2pls
and cor
## Not run: library(fda.usc) n <- 200 tt <- seq(0,1,len=101) x0 <- rproc2fdata(n,tt,sigma="wiener") x1 <- rproc2fdata(n,tt,sigma=0.1) x <- x0*3+x1 beta <- tt*sin(2*pi*tt)^2 fbeta <- fdata(beta,tt) pc1 <- fdata2pc(x,3) summary.fdata.comp(pc1) y <- inprod.fdata(x,fbeta) #+ rnorm(n,sd=0.1) pls1 <- fdata2pls(x,y,2) summary(pls1) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.