| plotTraj,ClusterLongData {kml} | R Documentation |
~ Function: plotTraj for ClusterLongData ~
Description
plotTraj plot the trajectories of an object ClusterLongData relativly
to a Partition.
Usage
## S4 method for signature 'ClusterLongData,ANY'
plotTraj(x,y,parTraj=parTRAJ(col="clusters"),
parWin=windowsCut(x['nbVar'],addLegend=TRUE),nbSample=1000,...)
Arguments
x |
|
y |
|
parTraj |
|
parWin |
|
nbSample |
|
... |
Some other parameters can be passed to the method. |
Details
plotTraj the trajectories of an object ClusterLongData relativly
to the 'best' Partition, or to the
Partition define by y.
Graphical option (col, type, pch
and xlab) can be change using parTraj.
For more
detail on parTraj, see object of
class ParLongData.
See Also
Overview: kml-package
Classes : ClusterLongData
PlotTraj : plotTraj: overview, plotCriterion
Examples
### Move to tempdir
wd <- getwd()
setwd(tempdir()); getwd()
##################
### Construction of the data
ld <- gald()
kml(ld,3:4,1)
### Basic plotTrajting
plotTraj(ld,3)
### Go back to current dir
setwd(wd)