ordered {longitudinalData}R Documentation

~ Function: ordered ~

Description

Given a Partition, ordered order its clusters letters according to the effectif of each clusters. The is meanly a "label changing".

Usage

ordered(x,...)

Arguments

x [Partition)]: Partition to be ordered.
... For compatibility only, no other arguments are accepted.

Details

Given a Partition, ordered order its clusters letters according to the effectif of each clusters. So A will be the cluster with be biggest frequency, then B, then C...

Value

An object of class Partition.

See Also

Partition

Examples

### Small partition
smallPart <- partition(clusters=c("A","B","A","C","C","C"),nbClusters=3)

### Same partition but ordered
ordered(smallPart)


[Package longitudinalData version 0.6 Index]