extract.simul_process | R Documentation |
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.
## S3 method for class 'simul_process'
extract(
x,
where = c("tips", "nodes"),
what = c("states", "expectations", "optimal.values"),
...
)
x |
an object of class " |
where |
one of "tips" (the default) or "nodes". Where to extract the results. |
what |
one of "states" (the default), "expectation", or "optimal.values". |
... |
unused |
##
A matrix giving the selected quantities at the selected nodes or tips. If the tips or nods are labeled, then the colnames of the matrix are set accordingly.
simul_process
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.