Description Usage Arguments Value
Creates a matrix specifying how difference indices are among an ordered set of indices. For lines with indices i and j, the 'distance' computed is |i -j|. Results are used to define covariance.
1 | dist_mat(n_lines)
|
n_lines |
number of lines in matrix |
Matrix of ‘distances’ among the indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.