Last data update: 2014.03.03

R: Provides a visualisation of up to three-dimensional trait...
plotTraitR Documentation

Provides a visualisation of up to three-dimensional trait space (not accounting for phylogeny) for data exploration

Description

Plots the trait space occupied by up to 3 traits with focals highlighted in red.

Usage

plotTrait(dat, traits, focal = dat[, 2])

Arguments

dat

A dataframe containing a column of 0s and 1s to denote non-focal and focal taxa respectively, and columns of trait data which you which to plot.

traits

Column numbers (or names) for 1-3 traits which you want to plot.

focal

Column in the dataframe containing the focal designations.

Author(s)

Kevin Arbuckle and Amanda Minter

References

Arbuckle, K., Bennett, C.M. and Speed, M.P. 2014. A simple measure of the strength of convergent evolution. Methods in Ecology and Evolution 5:685 - 693. This citation is for the method, there is currently a manuscript being prepared to describe this package.

Examples

data(sample.data)
plotTrait(sample.data,c("ou1","ou2"),focal=sample.data[,2])

Results