| simulate | R Documentation |
The stats::simulate() generic is re-exported so that the
simulate.tna() and simulate.group_tna() methods provided by this
package are dispatched correctly when the user only loads tna.
See the method-specific help pages for argument and return details.
simulate(object, nsim = 1, seed = NULL, ...)
object |
A statistical model object. The |
nsim |
An |
seed |
An |
... |
Further arguments passed to the dispatched method. |
The value returned by the dispatched method (a data.frame of
simulated sequences for tna and group_tna objects). See the
method-specific help pages for details.
model <- tna(group_regulation)
sim <- simulate(model, nsim = 5, max_len = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.