simulate: Simulations of a phylogenetic trait model

Description Usage Arguments Value See Also

Description

simulate generates random deviates from a fitted model.

Usage

1
2
3
4
5
## S4 method for signature 'browntree'
simulate(object, nsim = 1, seed = NULL, ...)

## S4 method for signature 'hansentree'
simulate(object, nsim = 1, seed = NULL, ...)

Arguments

object

fitted model object

nsim

integer; number of independent simulations.

seed

integer; if non-NULL, the RNG will be initialized with this seed for the simulations. The RNG will be reset to its pre-existing state when simulate returns.

...

additional arguments, ignored.

Value

simulate returns a list of data-frames, each comparable to the original data.

See Also

Other methods for ouch trees: bootstrap(), coef(), logLik, ouch-package, paint(), plot(), print(), summary(), update()


ouch documentation built on May 17, 2021, 1:09 a.m.

Related to simulate in ouch...