ARI {ppsbm} | R Documentation |
Adjusted Rand Index (ARI)
Description
Compute the Adjusted Rand Index (ARI) between the true latent variables and the estimated latent variables
Usage
ARI(z, hat.z)
Arguments
z |
Matrix of size |
hat.z |
Matrix of |
Examples
z <- matrix(c(1,1,0,0,0,0, 0,0,1,1,0,0, 0,0,0,0,1,1), nrow = 3, byrow = TRUE)
hat.z <- matrix(c(0,0,1,1,0,0, 1,1,0,0,0,0, 0,0,0,0,1,1), nrow = 3, byrow = TRUE)
ARI(z, hat.z)
[Package ppsbm version 0.2.2 Index]