Learn R Programming

surface (version 0.6)

surfaceDemo: Tree and Data for Demonstrating SURFACE

Description

This simulated tree and data set can be used to demonstrate the functionality of SURFACE. The vignette `surface_tutorial' demonstrates the use of the various functions included in the package using surfaceDemo

Usage

data(surfaceDemo)

Arguments

Format

A list containing a tree in phylo format (surfaceDemo$tree), and a list surfaceDemo$sim, which contains trait data (surfaceDemo$sim$data) and the other features output by surfaceSimulate, including the generating Hansen model (surfaceDemo$sim$fit)

References

Ingram, T. & Mahler, D.L. (2013) SURFACE: detecting convergent evolution from comparative data by fitting Ornstein-Uhlenbeck models with stepwise AIC. Methods in Ecology and Evolution 4: 416-425.

Examples

Run this code
data(surfaceDemo)
tree<-surfaceDemo$tree
dat<-surfaceDemo$sim$dat

Run the code above in your browser using DataLab