modgo is an R package Mock Data Generation (modgo) that may be used for simulating data from existing study data for continuous, ordinal categorical, and dichotomous variables[reference].
To install modgo from GitHub, run:
library("devtools")
install_github("https://github.com/GeorgeKoliopanos/modgo")
To see how to use modgo see ?modgo() in R . Below, we present a simple example on how to run.
library(modgo)
data("Cleveland",package="modgo")
<- modgo(data = Cleveland,
test_modgo bin_variables = c("CAD","HighFastBloodSugar","Sex","ExInducedAngina"),
categ_variables =c("Chestpaintype"))