fem.ari {FisherEM}R Documentation

Adjusted Rand index

Description

The function computes the adjusted Rand index (ARI) which allows to compare two clustering partitions.

Usage

fem.ari(x,y)

Arguments

x

A 'fem' object containing the first partition to compare.

y

The second partition to compare (as vector).

Value

ari

The value of the ARI.

See Also

fem, sfem, plot.fem, summary.fem

Examples

data(iris)
res = fem(iris[,-5],K=3,model='DkBk',method='reg')
res
plot(res)
fem.ari(res,as.numeric(iris[,5]))

[Package FisherEM version 1.6 Index]