simobs(DAG, n, wide = TRUE, LTCF = NULL, rndseed = NULL,
verbose = getOption("simcausal.verbose"))
sim
and
TRUE
to print messages on status and information to the console.
Turn this off by default using options(simcausal.verbose=FALSE).data.frame
where each column is sampled from the conditional distribution specified by the corresponding DAG
object node.simfull
- a wrapper function for simulating full data only; sim
- a wrapper function for simulating both types of data; doLTCF
for forward imputation of the missing values in already simulating data; DF.to.long
, DF.to.longDT
- converting longitudinal data from wide to long formats.