simulate.tna | R Documentation |
Simulate Data from a Transition Network Analysis Model
## S3 method for class 'tna'
simulate(
object,
nsim = 1,
seed = NULL,
max_len = 100L,
na_range = c(0L, 0L),
...
)
object |
A |
nsim |
An |
seed |
Ignored. Please use |
max_len |
An |
na_range |
An |
... |
Ignored. |
A data.frame
of the simulated sequence data with nsim
rows and
max_len
columns.
Other data:
import_data()
,
prepare_data()
,
print.tna_data()
model <- tna(group_regulation)
sim <- simulate(model, nsim = 10, max_len = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.