test.root.state: Test state of root.

View source: R/generic_functions.R

test.root.stateR Documentation

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"), ...)

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

Value

Coherent list root.state.


PhylogeneticEM documentation built on Aug. 31, 2022, 9:16 a.m.