Learn R Programming

PhylogeneticEM (version 1.0.0)

extract.simul_process: Extraction of simulated traits

Description

extract.simul_process takes an object of class "simul_process", result of function simul_process, and extracts the traits values, expectations or optimal values at the tips or the internal nodes.

Usage

"extract"(x, where = c("tips", "nodes"), what = c("states", "expectations", "optimal.values"), ...)

Arguments

x
an object of class "simul_process", result of function simul_process.
where
one of "tips" (the default) or "nodes". Where to extract the results.
what
one of "states" (the default), "expectation", or "optimal.values".
...
unused

Value

A matrix giving the selected quantities at the selected nodes or tips. If the tips or nods are labelled, then the colnames of the matrix are set accordingly.

Details

##

See Also

simul_process