plotscores | R Documentation |
The coefficients multiplying the harmonics or principal component functions are plotted as points.
plotscores(pcafd, scores=c(1, 2), xlab=NULL, ylab=NULL,
loc=1, matplt2=FALSE, ...)
pcafd |
an object of the "pca.fd" class that is output by function
|
scores |
the indices of the harmonics for which coefficients are plotted. |
xlab |
a label for the horizontal axis. |
ylab |
a label for the vertical axis. |
loc |
an integer: if loc >0, you can then click on the plot in loc places and you'll get plots of the functions with these values of the principal component coefficients. |
matplt2 |
a logical value:
if |
... |
additional plotting arguments used in function |
a plot of scores
Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.
pca.fd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.