Learn R Programming

BinMat (version 0.1.1)

scree: Draws a scree plot.

Description

Creates a scree plot for the non-metric multidimensional scaling plot. 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

Run this code
# NOT RUN {
mat = BinMatInput_ordination
scree(mat)


# }

Run the code above in your browser using DataLab