Learn R Programming

kml (version 0.9.0)

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.

Arguments

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.
  • nbClustershas to be lower or equal to 10 (ten clusters maximum).
  • clustersandidhave to have the same length.
  • clustershas to be a factor inLETTERS[1:nbCluster](withnbClusterslower than 10).
  • table(clusters)has to be in the reverse order (clusters are sorted form the biggest to the smallest).
  • idcannot be duplicated.
  • anidcannot 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.

See Also

kml-package

Examples

Run this code
showClass("Clusterization")

Run the code above in your browser using DataLab