shepard: Creates a shepard plot.

Description Usage Arguments Value Examples

View source: R/shepard.R

Description

Creates a Shepard plot for the non-metric multidimensional scaling plot. This indicates the 'goodness of fit' of the original distance matrix vs the ordination representation. A high R-squared value is favourable.

Usage

1
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

1
2

BinMat documentation built on March 13, 2020, 3:11 a.m.