plot.trackeRfpca | R Documentation |
Plot function for functional principal components analysis of distribution and concentration profiles.
## S3 method for class 'trackeRfpca'
plot(x, harm = NULL, expand = NULL, pointplot = TRUE, ...)
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. |
Ramsay JO, Silverman BW (2005). Functional Data Analysis. Springer-Verlag New York.
plot.pca.fd
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.