https://github.com/cran/fda
Raw File
Tip revision: b35963963ae64a4a374bde12feed8dd092f9082a authored by J. O. Ramsay on 16 December 2020, 18:40:02 UTC
version 5.1.9
Tip revision: b359639
plotscores.Rd
\name{plotscores}
\alias{plotscores}
\title{
  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{
\item{pcafd}{
an object of the "pca.fd" class that is output by function
\code{pca.fd}.
}
\item{scores}{
the indices of the harmonics for which coefficients are
plotted.
}
\item{xlab}{
a label for the horizontal axis.
}
\item{ylab}{
a label for the vertical axis.
}
\item{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.
}
\item{matplt2}{
a logical value:
if \code{TRUE}, the curves are plotted on the same plot;
otherwise, they are plotted separately.
}
\item{\dots }{
additional plotting arguments used in function \code{plot}.
}
}
\section{Side Effects}{
a plot of scores
}
\seealso{
\code{\link{pca.fd}}
}
% docclass is function
\keyword{smooth}
back to top