This is a plotting method for objects of class functional singular spectrum analysis (fssa
). The method is designed to help the user make decisions
on how to do the grouping stage of univariate or multivariate functional singular spectrum analysis.
# S3 method for fssa
plot(
x,
d = length(x$values),
idx = 1:d,
idy = idx + 1,
contrib = TRUE,
groups = as.list(1:d),
type = "values",
vars = NULL,
ylab = NA,
main = NA,
color_palette = "RdYlBu",
reverse_color_palette = FALSE,
...
)
An object of class fssa
.
An integer which is the number of elementary components in the plot.
A vector of indices of eigen elements to plot.
A second vector of indices of eigen elements to plot (for type="paired"
).
A logical where if the value is TRUE
(the default), the contribution of the component to the total variance is displayed.
A list or vector of indices determines grouping used for the decomposition(for type="wcor"
).
The type of plot to be displayed where possible types are:
"values"
- plot the square-root of singular values (default)
"paired"
- plot the pairs of eigenfunction's coefficients (useful for the detection of periodic components)
"wcor"
- plot the W-correlation matrix for the reconstructed objects
"vectors"
- plot the eigenfunction's coefficients (useful for the detection of period length)
"lcurves"
- plot of the eigenfunctions (useful for the detection of period length)
"lheats"
- heatmap plot of the eigenfunctions which can be used for fts
variables observed over one or two-dimensional domains (useful for the detection of meaningful patterns)
"periodogram"
- periodogram plot (useful for the detecting the frequencies of oscillations in functional data).
A numeric specifying the variable number (can be used in plotting MFSSA "lheats"
or "lcurves"
).
The character vector of name of variables.
The main plot title
A string specifying the color palette that is offered by the ggplot2 package to be used when plotting left singular functions corresponding with fts
variables observed over two-dimensional domains.
A boolean specifying if the color palette scale should be reversed.
Arguments to be passed to methods, such as graphical parameters.
fssa
, plot.fts