| simulate {ouch} | R Documentation |
Simulations of a phylogenetic trait model
Description
simulate generates random deviates from a fitted model.
Usage
## S4 method for signature 'hansentree'
simulate(object, nsim = 1, seed = NULL, ...)
## S4 method for signature 'browntree'
simulate(object, nsim = 1, seed = NULL, ...)
Arguments
object |
fitted model object |
nsim |
integer; number of independent simulations. |
seed |
integer; if non- |
... |
additional arguments, ignored. |
Value
simulate returns a list of data-frames, each comparable to the original data.
See Also
Other methods for ouch trees:
as_data_frame,
bootstrap(),
coef(),
logLik,
ouch-package,
paint(),
plot(),
print(),
summary(),
update()
[Package ouch version 2.20 Index]