plot.trackeRfpca {trackeR} | R Documentation |
Plot function for functional principal components analysis of distribution and concentration profiles.
Description
Plot function for functional principal components analysis of distribution and concentration profiles.
Usage
## S3 method for class 'trackeRfpca'
plot(x, harm = NULL, expand = NULL, pointplot = TRUE, ...)
Arguments
x |
An object of class |
harm |
A numerical vector of the harmonics to be plotted. Defaults to all harmonics. |
expand |
The factor used to generate suitable multiples of the harmonics.
If |
pointplot |
Should the harmonics be plotted with |
... |
Currently not used. |
References
Ramsay JO, Silverman BW (2005). Functional Data Analysis. Springer-Verlag New York.
See Also
Examples
## Not run:
data('runs', package = 'trackeR')
dp <- distributionProfile(runs, what = 'speed')
dp.pca <- funPCA(dp, what = 'speed', nharm = 4)
## 1st harmonic captures vast majority of the variation
plot(dp.pca)
plot(dp.pca, harm = 1, pointplot = FALSE)
## End(Not run)
[Package trackeR version 1.6.0 Index]