| simulate.group_tna | R Documentation |
Simulate Data from a Group Transition Network Analysis Model
## S3 method for class 'group_tna'
simulate(
object,
nsim = 1,
seed = NULL,
max_len = 100L,
na_range = c(0L, 0L),
zero_row = "self",
format = "wide",
...
)
object |
A |
nsim |
An |
seed |
an object specifying if and how the random number
generator should be initialized (‘seeded’). |
max_len |
An |
na_range |
An |
zero_row |
A |
format |
A |
... |
Ignored. |
A data.frame of the simulated sequence data, as for
simulate.tna(), with the group of each sequence in the first column
group.
Other data:
import_data(),
import_onehot(),
list_random_state_pools(),
prepare_data(),
print.tna_data(),
random_group_tna(),
random_tna(),
random_tna_mmm(),
simulate.tna()
model <- group_tna(
group_regulation,
group = rep(c("High", "Low"), each = 1000)
)
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.