Learn R Programming

PhylogeneticEM (version 1.0.0)

test.root.state: Test state of root.

Description

test.root.state test wether the parameters of root.state given by the user are coherent. If not, it returns a new corrected list to define root.state.

Usage

test.root.state(root.state, process = c("BM", "OU", "scOU"), ...)

Arguments

root.state
A list giving the root state
process
"BM", "OU" or "scOU"
...
parameters of the process (if OU)

Value

Coherent list root.state.

Details

To test coherence, the following priorities are applied: random > stationary.root > values.root = exp.root = var.root