scree {BinMat}R Documentation

Draws a scree plot.

Description

Creates a scree plot for the nMDS. This indicates the optimum number of dimensions to use to minimise the stress value. The stress value is indicated by a red dotted line at 0.15. Values equal to or below this are considered acceptable.

Usage

scree(x, dimensions = 4, dist_meth = "binary")

Arguments

x

Consolidated binary matrix with grouping information in column 2.

dimensions

Number of dimensions to plot. Set to 4 by default.

dist_meth

Distance method. Set to "binary" by default. Other options are "euclidean", "maximum", "manhattan", "canberra", or "minkowski".

Value

Scree plot.

Examples

mat = BinMatInput_ordination
scree(mat)



[Package BinMat version 0.1.5 Index]