Learn R Programming

kml (version 0.9.2)

plotSubGroups: ~ Function: plotSubGroups for ClusterizLongData ~

Description

plot the trajectories of all the subgroups of an object ClusterizLongData relativly to a Clusterization.

Usage

plotSubGroups(x, y, ...)

Arguments

x
[ClusterizLongData]: Object containing the trajectories to plot.
y
[numeric] or [vector(numeric)]: Give the Clusterization to represent. If y is missing, the Clusterization with the highest Calinski creterion is selected. If y is a number, the first
...
Graphical parameters to be passed to methods (see plot). More precisely: [object Object],[object Object],[object Object],[object Object],[object Object]

Author(s)

Christophe M. Genolini PSIGIAM: Paris Sud Innovation Group in Adolescent Mental Health INSERM U669 / Maison de Solenn / Paris Contact author :

English translation

Rapha�l Ricaud Laboratoire "Sport & Culture" / "Sports & Culture" Laboratory University of Paris 10 / Nanterre

References

Article submited Web site: http://christophe.genolini.free.fr/kml

See Also

Overview: kml-package Classes : ClusterizLongData, ArtificialLongData Plot : plot: overview, plot(ClusterizLongData), plot(Calinski), plotAll(ClusterizLongData)

Examples

Run this code
ld <- gald()
kml(ld,,5)
par(ask=TRUE)

### Default ploting
plotSubGroups(ld)

### Only the trajectories in black
plotSubGroups(ld,colorMean="no",colorTraj="black")

### Only the mean trajectories, with letters (for publication ?)
plotSubGroups(ld,colorTraj="no",colorMean="black",point="letters",size=2)

### All at once.
plotSubGroups(ld,colorMean="both",point="letters",size=2)

par(ask=FALSE)

Run the code above in your browser using DataLab