R: Test state of root.

test.root.state {PhylogeneticEM} | R 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"), ...)

### 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.

[Package PhylogeneticEM version 1.1.0 Index]