shepard {BinMat} | R Documentation |
Creates a shepard plot.
Description
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.
Usage
shepard(x, k_val = 2, dist_meth = "binary")
Arguments
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". |
Value
Shepard plot.
Examples
mat = BinMatInput_ordination
shepard(mat)
[Package BinMat version 0.1.5 Index]