distEq | R Documentation |
This function return a distance (or proximity) matrix between n points regularly distributed in 1 dimension.
distEq(n, prox = FALSE)
n |
the number of points |
prox |
a logical indicating whether to return a matrix of proximity.
Default to |
A squared matrix. A matrix of class dist
if prox
is set to FALSE
.
x <- distEq(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.