~ Function: plot for ClusterLongData3d ~
plot the trajectories of an object
ClusterLongData3d relativly to a
Partition. One graphe for each variable is displayed.
## S4 method for signature 'ClusterLongData3d,ANY' plot(x,y=NA,parTraj=parTRAJ(),parMean=parMEAN(), addLegend=TRUE,adjustLegend=-0.05,toPlot="both",nbCriterion=1000,...)
x |
|
y |
|
parTraj |
|
parMean |
|
toPlot |
|
nbCriterion |
|
addLegend |
|
adjustLegend |
|
... |
Some other parameters can be passed to the method (like "xlab" or "ylab". |
plot the trajectories of an object ClusterLongData3d relativly
to the 'best' Partition, or to the
Partition define by y.
Graphical option concerning the individual trajectory (col, type, pch
and xlab) can be change using parTraj.
Graphical option concerning the cluster mean trajectory (col, type, pch,
pchPeriod and cex) can be change using parMean. For more
detail on parTraj and parMean, see object of
class ParLongData.
Overview: kml3d-package
Classes : ClusterLongData3d
Plot : plotTraj, plotCriterion
################## ### Construction of the data myCld <- gald3d() ### Basic plotting plot(myCld) ################## ### Changing graphical parameters 'par' ### No letters on the mean trajectories kml3d(myCld,2:7,2) plot(myCld,2,parMean=parMEAN(type="l")) ### Only one letter on the mean trajectories plot(myCld,3,parMean=parMEAN(pchPeriod=Inf)) ### Color individual according to its clusters (col="clusters") plot(myCld,4,parTraj=parTRAJ(col="clusters")) ### Mean without individual plot(myCld,5,parTraj=parTRAJ(type="n")) ### No mean trajectories (type="n") ### Color individual according to its clusters (col="clusters") plot(myCld,6,parTraj=parTRAJ(col="clusters"),parMean=parMEAN(type="n")) ### Only few trajectories plot(myCld,7,nbSample=10,parTraj=parTRAJ(col='clusters'),parMean=parMEAN(type="n"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.