Plot Principal Component Scores
plotscores |
Language Reference for FDA Library
|
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=F, ...)
REQUIRED ARGUMENTS:
- pcafd
-
an object of the "pca.fd" class that is output by function
pca.fd
.
OPTIONAL ARGUMENTS:
- 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
T
, 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