Plot method for variable domain multivariate FPCA
plot.mfpca_vd.RdDisplays either the estimated eigenfunctions of one variable at several fixed domain lengths (superimposed lines), a heatmap of one eigenfunction across all domains, or the multivariate scores colored by domain length.
Arguments
- x
An object of class
mfpca_vd.- type
One of
"eigenfunctions"(the default),"heatmap"or"scores"."eigenfunctions"draws the chosen components at a few fixed domains as superimposed lines,"heatmap"shows one component across all domains, and"scores"plots the multivariate scores colored by domain length.- variable
Index of the functional variable to display when
type = "eigenfunctions"ortype = "heatmap"(default1).- components
Indices of the components to display (default
1:2). Fortype = "heatmap"only the first one is used.- domains
Domain lengths at which to draw the eigenfunctions. If
NULL, a few values spanning the observed domains are used.- align_sign
If
TRUE(the default), the sign of each eigenfunction is aligned across domains so the curves overlay consistently.- ...
Further graphical arguments.