View source: R/sampling_fcts_KMR.R
This is to compute the distances among the z vectors for each school z.mat is a n by (n-1) matrix where each row is the (n-1) vector of co-clustering probabilities Specifically, the i-th row of z.mat is the vector of co-clustering probabilities for school i This function computes the inverse of the matrix obtained using a Gaussian correlation function
1 | comp.gau.icorrfct(Dist.mat.sqrd, phi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.