Description Usage Arguments Details Value Examples
Plot the decomposition of 2d embryo. Plot graphs from the ‘Rssa’ package for ‘ssa’ object. Also, it can draw two plots of residuals: plot of the corresponding ‘noise.model’ and scatterplot of residuals for different trends reconstructed by different sets of elementary components.
1 2 3 |
x |
object of class ‘BioSSA2d’ |
type |
plot type |
... |
additional arguments passed to plot functions |
For the type
parameter 'ssa-*' are just corresponding ‘Rssa’ plots.
For type = 'residuals'
one can use following additional arguments:
numeric vector, elementary component indices for trend extraction
like previous, used for ‘residuals-vs-residuals’ plot
logical, whether plot linear regression line (with zero offset) on ‘residuals-vs-residuals’ plot
If groups.y
is missing then noise model will be estimated and plotted
(additional arguments will be passed to both noise.model
and plot
methods).
Otherwise, ‘residuals-vs-residuals’ plot will be plotted.
A Trellis object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | xlim <- c(22, 88)
ylim <- c(32, 68)
L <- c(15, 15)
file <- system.file("extdata/data", "ab16.txt", package = "BioSSA")
df <- read.emb.data(file)
bss <- BioSSA(cad ~ AP + DV, data = df, ylim = ylim, xlim = xlim, L = L)
plot(bss, type = "ssa-values")
plot(bss, type = "ssa-vectors")
plot(bss, type = "ssa-series", groups = 1:3)
plot(bss, type = "residuals", groups = 1:3)
plot(bss, type = "residuals", groups = 1:3, groups.y = 1:2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.