lpz_dist {BLSM} | R Documentation |

## Distance between latent positions

### Description

Compute the square root of the Euclidean distances between latent positions and return them with a negative sign.

### Usage

```
lpz_dist(Z)
```

### Arguments

`Z` |
Latent positions matrix. The matrix size must be |

### Value

Matrix containing the negative square root of the Euclidean distances between latent positions

### Examples

```
pos = matrix(rnorm(20), ncol=2)
lpz_dist(pos)
```

[Package

*BLSM*version 0.1.0 Index]