Clusterization-class: ~ Class: Clusterization ~
Description
An object of class Clusterization
is a partition of
trajectories in subgroups.
The object also contains a certain number of information like the
percentage of trajectories that each group contains or the Calinski criterion.Objects from the Class
Objects are not intend to be created by users. Clusterization
are created
by kml
and directly added to a "ClusterizLongData"
object.validation rules
A class Clusterization
object must follow some rules to be valid:
- All the slot should be either empty, or non empty.
nbClusters
has to be lower or equal to 10 (ten clusters maximum).clusters
andid
have to have the same length.clusters
has to be a factor inLETTERS[1:nbCluster]
(withnbClusters
lower than 10).table(clusters)
has to be in the reverse order
(clusters are sorted form the biggest to the smallest).id
cannot be duplicated.- an
id
cannot be missing.
Details
The partitioning of an ensemble of trajectories is given by the couple
(id,clusters)
.
id
must correspond to id
of an object of class ClusterizLongData
; the vector clusters
then sets the group that each individual belongs to.