Mock Data Generation

Generation of mock data from a real dataset using rank normal inverse transformation.


modgo

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.

Installation

To install modgo from GitHub, run:

library("devtools")
install_github("https://github.com/GeorgeKoliopanos/modgo")

Usage

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")
test_modgo <- modgo(data = Cleveland,
     bin_variables = c("CAD","HighFastBloodSugar","Sex","ExInducedAngina"),
     categ_variables =c("Chestpaintype"))

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("modgo")

1.1.0 by George Koliopanos, 4 months ago


https://github.com/GeorgeKoliopanos/modgo


Report a bug at https://github.com/GeorgeKoliopanos/modgo/issues


Browse source code at https://github.com/cran/modgo


Authors: Andreas Ziegler [aut] , Francisco Miguel Echevarria [aut, ctb] , George Koliopanos [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports ggplot2, patchwork, wesanderson, Matrix, ggcorrplot, gridExtra, psych, GLDEX, MASS, gp, wCorr, survey, stats, utils

Suggests knitr, rmarkdown, survival


See at CRAN