lpz_dist {BLSM} | R Documentation |
Compute the square root of the Euclidean distances between latent positions and return them with a negative sign.
lpz_dist(Z)
Z |
Latent positions matrix. The matrix size must be |
Matrix containing the negative square root of the Euclidean distances between latent positions
pos = matrix(rnorm(20), ncol=2) lpz_dist(pos)