| plotMeans,ClusterLongData | R Documentation |
plotMeans plots the means' trajectories of an object
ClusterLongData relatively to a Partition.
## S4 method for signature 'ClusterLongData,ANY'
plotMeans(x,y,parMean=parMEAN(),
parWin=windowsCut(x['nbVar'],addLegend=TRUE),...)
x |
|
y |
|
parMean |
|
parWin |
|
... |
Some other parameters can be passed to the method. |
plotMeans plots the means' trajectories of an object ClusterLongData relativly
to the 'best' Partition, or to the
Partition define by y.
Graphical option (col, type, pch,
pchPeriod and cex) can be change using parMean. For more
detail on parTraj and parMean, see object of
class ParLongData in package longitudinalData.
Overview: kml-package
Classes : ClusterLongData
PlotMeans : plotMeans: overview, plotCriterion
### Move to tempdir
wd <- getwd()
setwd(tempdir()); getwd()
##################
### Construction of the data
ld <- gald(10)
kml(ld,3:4,2)
### Basic plotMeansting
plotMeans(ld,3)
### Go back to current dir
setwd(wd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.