rdists | R Documentation |
Generate random distance matrices
rdists(N, names, scale = 100)
N |
Number of locations. |
names |
Names of locations. |
scale |
Scale of the distance matrices. Default is 100. |
This function generates random distance matrices using rnorm
. scale
controls the scale of the distance matrices.
List of signed distances.
set.seed(123)
rdists(3)
rdists(3, scale = 1)
rdists(3, names = LETTERS[1:3])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.