plot.mocca | R Documentation |
The function
takes a mocca
object produced by mocca()
and creates cluster means plots or covariance structure within each cluster.
## S3 method for class 'mocca'
plot(x,type=1, select =NULL,transform=FALSE,covariance=TRUE,
covariates =FALSE,lwd=2,ylab="",xlab="",main="",ylim=NULL,
ncolors=NULL,probs=FALSE,pts=FALSE,size=50,
years=NULL, years.names=NULL, ...)
x |
a |
type |
determines what type of plots to print. For |
select |
allows the plot for a single cluster mean to be selected for printing with |
transform |
logical, informs whether svd back-transformation of the spline model matrix should be applied (see Arnqvist and Sjöstedt de Luna, 2019). |
covariance |
logical, informs whether covariance ( |
covariates |
logical, informs whether covariates should be added when printing the covariance structure of the spline coefficients |
lwd |
defines the line width. |
ylab |
If supplied then this will be used as the |
xlab |
If supplied then this will be used as the |
main |
Used as title for plots if supplied. |
ylim |
If supplied then this pair of numbers are used as the |
ncolors |
defines the number of colors ( |
probs |
logical, used with |
pts |
logical, used with |
size |
the bin size used with |
years |
a vector of years used with annual data and needed for |
years.names |
a character vector that gives names of the years needed for |
... |
other graphics parameters to pass on to plotting commands. |
The function generates plots.
Per Arnqvist, Sara Sjöstedt de Luna, Natalya Pya Arnqvist
Arnqvist, P., and Sjöstedt de Luna, S. (2019). Model based functional clustering of varved lake sediments. arXiv preprint arXiv:1904.10265.
mocca
## see ?mocca help files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.