Learn R Programming

kml3d (version 0.7)

Constants: ~ Constants define in the package ~

Description

Constants define in the package ~

Usage

MAX_CLUSTERS
CLUSTERS_NAMES
CRITERION_MIN_OR_MAX
CHOICE_STYLE

Arguments

Value

  • MAX_CLUSTERS = 26 CLUSTER_NAMES = paste("c",2:MAX_CLUSTERS,sep="") CRITERION_MIN_OR_MAX = c(calinski=1,test=1,test2=-1) CHOICE_STYLE <- list( typeTraj=c("l","l","n"), colTraj=c("clusters","black","black"), typeMean=c("b","b","b","b","l","l","n"), colMean=c("clusters","black","clusters","black","clusters","black","black"), pchMean=c("letters","letters","symbols","symbols","letters","letters","letters") )

Author(s)

Christophe Genolini INSERM U669 / PSIGIAM: Paris Sud Innovation Group in Adolescent Mental Health Modal'X / Universite Paris Ouest-Nanterre- La Defense Contact author : genolini@u-paris10.fr

References

Article "KmL: K-means for Longitudinal Data", in Computational Statistics, Volume 25, Issue 2 (2010), Page 317. Web site: http://christophe.genolini.free.fr/kml

Examples

Run this code
### Maximum number of clusters that kml3d can deal with
#2:MAX_CLUSTERS

### Names of the field that save clusters in object 'ClusterLongData'
#cat(CLUSTER_NAMES,"\n")

### Shall a criterion be maximised (1) or minimised (-1) ?
#92.4*CRITERION_MIN_OR_MAX[2]

### Define the style use by choice
#CHOICE_STYLE[['typeTraj']][2]

Run the code above in your browser using DataLab