treespace: MDS scaling of treespace for a single tree list.

Description Usage Arguments Value Examples

View source: R/treespace.R

Description

This function constructs a distance matrix from a list of trees and uses multi-dimensional scaling to collapse it to a two- dimensional tree space for plotting.

Usage

1
treespace(chains, n.points = 100, burnin = 0, fill.color = NA)

Arguments

chains

A list of 1 or more rwty.chain objects.

n.points

The minimum number of points you want in your plot.

burnin

The number of trees to eliminate as burnin. Default is zero.

fill.color

The name of the column from the log table that that you would like to use to colour the points in the plot.

Value

Returns a list containing the points and a plot.

Examples

1
2
3
4
5
## Not run: 
data(fungus)
treespace(fungus, n.points=50, burnin=20, fill.color="LnL")

## End(Not run)

danlwarren/RWTY documentation built on Sept. 5, 2021, 8:35 p.m.