| plotMeans,ClusterLongData {kml} | R Documentation |
~ Function: plotMeans for ClusterLongData ~
Description
plotMeans plots the means' trajectories of an object ClusterLongData relativly
to a Partition.
Usage
## S4 method for signature 'ClusterLongData,ANY'
plotMeans(x,y,parMean=parMEAN(),
parWin=windowsCut(x['nbVar'],addLegend=TRUE),...)
Arguments
x |
|
y |
|
parMean |
|
parWin |
|
... |
Some other parameters can be passed to the method. |
Details
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.
See Also
Overview: kml-package
Classes : ClusterLongData
PlotMeans : plotMeans: overview, plotCriterion
Examples
### 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)