Generates data given a partial correlation network. Data can be made ordinal by using a threshold model with equally spaced thresholds.
ggmGenerator(ordinal = FALSE, nLevels = 4, skewFactor = 1, type =
c("uniform", "random"), missing = 0)
Logical, should ordinal data be generated?
Number of levels used in ordinal data.
How skewed should ordinal data be? 1 indicates uniform data and higher values increase skewedness.
Should thresholds for ordinal data be sampled at random or determined uniformly?
Proportion of data that should be simulated to be missing.
Sacha Epskamp <mail@sachaepskamp.com>