Internal Pi Function
fct_pi_vec(clust_assign, k, N)
clust_assign
The current clustering assignment.
k
The number of groups.
N
The sample size.
A mixing vector.