Learn R Programming

fda (version 2.4.0)

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

pca.fd