Learn R Programming

pmc (version 0.0-8)

treepower: function to create the power curve for a tree

Description

compares BM against OU of increasing value of alpha

Usage

treepower(tree, nboot = 100, cpu = 2, threshold = 0.95,
    alpha = seq(0.001, 30, length = 100),
    method = "hansen")

Arguments

tree
an ouchtree class phylogeny
nboot
number of bootstraps to use in power simulation
cpu
number of cpu's available
threshold
to use for the power calculation
alpha
a sequence of alpha values to try
method
currently ignored as only comparisons to OU through hansen are allowed

Value

  • a power object, see examples in the vignette

Details

function can take a while to run all comparisons.