fem.ari: Adjusted Rand index

Description Usage Arguments Value See Also Examples

View source: R/fem.ari.R

Description

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

Usage

1
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

1
2
3
4
5
data(iris)
res = fem(iris[,-5],K=2:5,model='AkB')
summary(res)
plot(res)
fem.ari(res,as.numeric(iris[,5]))

FisherEM documentation built on May 29, 2017, 4:22 p.m.