~ Constants ~
Constants define in the package ~
MAX_CLUSTERS CLUSTERS_NAMES CRITERION_MIN_OR_MAX CRITERION_NAMES DISTANCE_METHODS CHOICE_STYLE
MAX_CLUSTERS = 26
CLUSTER_NAMES = paste("c",2:MAX_CLUSTERS,sep="")
CRITERION_NAMES <- c(
"Calinski.Harabatz","Kryszczuk.Calinski","Genolini.Calinski","Ray.Turi","Davies.Bouldin",
"BIC","BIC2","AIC","AICc","AICc2","postProbaGlobal","random"
)
DISTANCE_METHODS = c("manhattan", "euclidean", "minkowski", "maximum", "canberra", "binary")
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")
)
### Maximum number of clusters that kml can deal with MAX_CLUSTERS ### Names of the field that save clusters in object 'ClusterLongData' cat(CLUSTER_NAMES,"\n") ### List of the available criterion CRITERION_NAMES ### Distance available DISTANCE_METHODS[2] ### Define the style use by choice CHOICE_STYLE[['typeTraj']][2]
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.