Learn R Programming

tramnet (version 0.0-8)

simulate.tramnet: simulate method for class "tramnet"

Description

simulate method for class "tramnet"

Usage

# S3 method for tramnet
simulate(object, nsim = 1, seed = NULL,
  newdata = .get_tramnet_data(object), bysim = TRUE, ...)

Value

returns a list of data.frames containing parametric bootstrap samples based on the data supplied in newdata

Arguments

object

object of class "tramnet"

nsim

number of simulation

seed

random number generator seed

newdata

new data to simulate from

bysim

see simulate.ctm

...

Additional arguments to simulate.ctm

Author

Lucas Kook