check_dist | R Documentation |
Check if valid distance
check_dist(x, name = "x", check_sym = TRUE)
x |
Distance matrix or array. |
name |
Name of |
check_sym |
Logical; if TRUE each matrix (slice) must be symmetric. |
Check if x
is a valid distance vector, matrix or array. It errors if any
elements in x
is negative, or if x
is not a symmetric matrix or an
array of symmetric matrices.
NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.