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 simul_process
extract(
x,
where = c("tips", "nodes"),
what = c("states", "expectations", "optimal.values"),
...
)
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.
an object of class "simul_process
", result of function
simul_process
.
one of "tips" (the default) or "nodes". Where to extract the results.
one of "states" (the default), "expectation", or "optimal.values".
unused
##
simul_process