Simulate Data from a Transition Network Analysis Model
Arguments
- object
A
tnaobject. The edge weights must be transition probabilities, i.e., the model must havetype = "relative".- nsim
An
integergiving the number of sequences to simulate. The default is 1.- seed
Ignored. Please use
set.seed()manually.- max_len
An
integergiving the maximum length of the simulated sequences. When no missing values are generated, this is the length of all simulated sequences.- na_range
An
integervector of length 2 giving the minimum and maximum number of missing values to generate for each sequence. The number of missing values is drawn uniformly from this range. If both values are zero (the default), no missing values are generated.- ...
Ignored.
See also
Other data:
import_data(),
import_onehot(),
prepare_data(),
print.tna_data()
