Learn R Programming

PhylogeneticEM (version 1.8.0)

test.root.state: Test state of root.

Description

test.root.state test whether 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", "OUBM"), ...)

Value

Coherent list root.state.

Arguments

root.state

A list giving the root state

process

"BM", "OU" or "scOU"

...

parameters of the process (if OU)

Details

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