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.
Usage
yule(z_star, z)
Value
Real value of Yule's Phi-coefficient between the true and estimated block membership is returned.