Description Usage Arguments Details Value See Also

Checks or fixes the given distance matrix specification and returns an
equivalent, symmetric `matrix`

object with 0s in the diagonal.

1 | ```
check.dist(x)
``` |

`x` |
an object (or list of objects) specifying a distance matrix |

If the argument is a matrix, check whether it is a valid specification of a distance matrix and return it, making it symmetric if it isn't already.

If the argument is a list, calls `check.dist`

on every of its elements
and returns a list of the results.

For all other object types, attempts to coerce the argument to a `dist`

object and return the corresponding distance matrix (see above).

a symmetric `matrix`

object (or list of such objects) of the
same dimension as `x`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.