Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotscores

Plot Principal Component Scores


Description

The coefficients multiplying the harmonics or principal component functions are plotted as points.

Usage

plotscores(pcafd, scores=c(1, 2), xlab=NULL, ylab=NULL,
           loc=1, matplt2=FALSE, ...)

Arguments

pcafd

an object of the "pca.fd" class that is output by function pca.fd.

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 TRUE, the curves are plotted on the same plot; otherwise, they are plotted separately.

...

additional plotting arguments used in function plot.

Side Effects

a plot of scores

See Also


fda

Functional Data Analysis

v5.1.9
GPL (>= 2)
Authors
J. O. Ramsay <ramsay@psych.mcgill.ca> [aut,cre], Spencer Graves <spencer.graves@effectivedefense.org> [ctb], Giles Hooker <gjh27@cornell.edu> [ctb]
Initial release
2020-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.