plot.fpcad {dad} | R Documentation |
Plotting scores of principal component analysis of density functions
Description
Applies to an object of class "fpcad"
(see details of the
fpcad
function). Plots the scores.
Usage
## S3 method for class 'fpcad'
plot(x, nscore = c(1, 2), main = "PCA of probability density functions",
sub.title = NULL, color = NULL, fontsize.points = 1.5, ...)
Arguments
x |
object of class |
nscore |
a length 2 numeric vector. The numbers of the score vectors to be plotted. Warning: Its components cannot be greater than the |
main |
this argument to title has an useful default here. |
sub.title |
string. Subtitle to be added to each graph. |
color |
When provided, the colour of the symbols of each group. Can be a vector with length equal to the number of groups. |
fontsize.points |
Numeric. Expansion of the characters (or symbols) of the groups on the graph. This works as a multiple of |
... |
optional arguments to |
Details
Plots the principal scores returned by the fpcad
function.
A new graphics window is opened for each pair of principal axes defined by the nscore
argument.
Author(s)
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
References
Boumaza, R., Yousfi, S., Demotes-Mainard, S. (2015). Interpreting the principal component analysis of multivariate density functions. Communications in Statistics - Theory and Methods, 44 (16), 3321-3339.
See Also
fpcad; print.fpcad; interpret.fpcad.
Examples
data(roses)
rosefold <- as.folder(roses[,c("Sha","Den","Sym","rose")])
result <- fpcad(rosefold)
plot(result)