shepard | R Documentation |
Creates a Shepard plot for the nMDS. This indicates the 'goodness of fit' of the original distance matrix vs the ordination representation. A high R-squared value is favourable.
shepard(x, k_val = 2, dist_meth = "binary")
x |
Consolidated binary matrix. |
k_val |
Number of dimensions. Set to 2 by default. |
dist_meth |
Distance method. Set to "binary" by default. Other options are "euclidean", "maximum", "manhattan", "canberra", or "minkowski". |
Shepard plot.
mat = BinMatInput_ordination shepard(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.