ggmGenerator {bootnet} | R Documentation |
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)
ordinal |
Logical, should ordinal data be generated? |
nLevels |
Number of levels used in ordinal data. |
skewFactor |
How skewed should ordinal data be? 1 indicates uniform data and higher values increase skewedness. |
type |
Should thresholds for ordinal data be sampled at random or determined uniformly? |
missing |
Proportion of data that should be simulated to be missing. |
Sacha Epskamp <mail@sachaepskamp.com>