yule | R Documentation |
This function computes Yule's Phi-coefficient between the true and estimated block membership (its definition can be found here https://en.wikipedia.org/wiki/Phi_coefficient). In this context, the Phi Coefficient is a measure of association between two group membership vectors.
yule(z_star, z)
z_star |
a true block membership |
z |
an estimated block membership |
Real value of Yule's Phi-coefficient between the true and estimated block membership is returned.
data(toyNet)
yule(z_star = toyNet%v% "block",
z = sample(c(1:4),size = 200,replace = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.