Learn R Programming

fossil (version 0.4.0)

nmds.mst: Creating NMDS plots with overlain Minimum Spanning Trees

Description

This is a helper function which will plot an NMDS with an overlain MST

Usage

nmds.mst(nmds, mst, ...)

Arguments

nmds

an NMDS created using the ecodist program

mst

a minimum spanning tree or network (binary matrix)

arguments to be passed to the plot function

Value

Plots a non-metric multidimensional scaling plot with an overlain minimum spanning tree showing connections between the points.

Details

At the moment, the function requires an NMDS created using the ecodist program, howver the minimum spanning tree can be any one which creates a binary matrix showing connections (ie dino.mst).

See Also

dino.msn, dino.mst

Examples

Run this code
# NOT RUN {
#use fdata.mat as dataset, and use the \code{ecodist} package for the \code{nmds()} function
data(fdata.mat)
z <- ecol.dist(fdata.mat)
a <- dino.msn(z)
b <- nmds(z)
nmds.mst(b, a)
# }

Run the code above in your browser using DataLab