Clusterization
object.exportClusterization(object, y, typeGraph = "bmp", col = "clusters", type = "l", col.mean = "clusters", type.mean = "b", main = "", cex = 1, pch.mean = "letters", pch.time = NA, ...)
Clusterization
shall be exported. The first numeric y[1] is the cluster number, the
second y[2] is the rank of clusterization in the list y[1].plot(LongData)
and
par
for details.exportClusterization
is meanly used by the function
choice
. It export the clusters affectation (individual
and its letters) in a file named "objectName-Clusters.csv", the information about the clusterization
(algortihm used, clusters' number, convergence time, percent in each
cluster, criterion quality name and value, imputation method and
starting condition) in another file names "objectName-Details.csv".
It also save two graphs, one with the trajectories, the other one with
the subgroups.#############
### Creating a ClusterizLongData object, with 3 cluterization (5 clusters each)
dn <- as.cld(gald())
kml(dn,5,3)
### Exporting the second clusterization in pdf format
try(exportClusterization(dn,c(5,2),typeGraph="pdf"))
Run the code above in your browser using DataLab