compute_yule_coef {bigergm}R Documentation

Compute Yule's Phi-coefficient

Description

Compute Yule's Phi-coefficient

Usage

compute_yule_coef(z_star, z)

Arguments

z_star

a true block membership

z

an estimated block membership

Value

Real value of Yule's Phi-coefficient between the true and estimated block membership is returned.

Examples

data(toyNet)
compute_yule_coef(z_star = toyNet%v% "block",
                  z = sample(c(1:4),size = 200,replace = TRUE))
                  

[Package bigergm version 1.1.0 Index]