simstudy: Simulation of Study Data
Version 0.1.2

Simulates data sets in order to explore modeling techniques or better understand data generating processes. The user specifies a set of relationships between covariates, and generates data based on these specifications. The final data sets can represent data from randomized control trials, repeated measure (longitudinal) designs, and cluster randomized trials. Missingness can be generated using various mechanisms (MCAR, MAR, NMAR).

Browse man pages Browse package API and functions Browse package files

AuthorKeith Goldfeld [aut, cre]
Date of publication2016-12-08 00:55:57
MaintainerKeith Goldfeld <Keith.Goldfeld@nyumc.org>
LicenseGPL-3
Version0.1.2
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("simstudy")

Man pages

addColumns: Add columns to existing data set
addCorData: Add correlated data to existing data.table
addPeriods: Create longitudinal/panel data
defData: Add single row to definitions table
defDataAdd: Add single row to definitions table that will be used to add...
defMiss: Definitions for missing data
defRead: Read external csv data set definitions
defReadAdd: Read external csv data set definitions for adding columns
defSurv: Add single row to survival definitions
genCluster: Simulate clustered data
genCorData: Create correlated data
genData: Calling function to simulate data
genMiss: Generate missing data
genObs: Create an observed data set that includes missing data
genSurv: Generate survival data
mergeData: Merge two data tables
trtAssign: Assign treatment
trtObserve: Observed exposure or treatment

Functions

addColumns Man page Source code
addCorData Man page Source code
addPeriods Man page Source code
addStrataCode Source code
defData Man page Source code
defDataAdd Man page Source code
defMiss Man page Source code
defRead Man page Source code
defReadAdd Man page Source code
defSurv Man page Source code
evalDef Source code
genCluster Man page Source code
genCorData Man page Source code
genData Man page Source code
genMiss Man page Source code
genMissDataMat Source code
genObs Man page Source code
genPosSkew Source code
genSurv Man page Source code
genbinom Source code
gencat Source code
gendeterm Source code
generate Source code
gengamma Source code
gennorm Source code
genpois Source code
genpoisTrunc Source code
genunif Source code
is.error Source code
loProb Source code
matMultinom Source code
mergeData Man page Source code
rmult Source code
trtAssign Man page Source code
trtObserve Man page Source code
vecMultinom Source code

Files

inst
inst/doc
inst/doc/simstudy.R
inst/doc/simstudy.Rmd
inst/doc/simstudy.html
src
src/srcRcpp.cpp
src/RcppExports.cpp
NAMESPACE
NEWS.md
R
R/int_evalDef.R
R/mergeData.R
R/addCorData.R
R/genMiss.R
R/int_genpoistrunc.R
R/genCluster.R
R/defMiss.R
R/genObs.R
R/defReadAdd.R
R/int_genPosSkew.R
R/defRead.R
R/int_genMissDataMat.R
R/int_gengamma.R
R/int_genunif.R
R/int_addStrataCode.R
R/int_gennorm.R
R/RcppExports.R
R/trtObserve.R
R/int_genbinom.R
R/addPeriods.R
R/genData.R
R/genSurv.R
R/addColumns.R
R/defSurv.R
R/int_isError.R
R/trtAssign.R
R/int_generate.R
R/int_loProb.R
R/defData.R
R/int_gendeterm.R
R/int_genpois.R
R/defDataAdd.R
R/int_rmult.R
R/int_gencat.R
R/genCorData.R
vignettes
vignettes/simstudy.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/defDataAdd.Rd
man/defMiss.Rd
man/genCorData.Rd
man/genObs.Rd
man/trtAssign.Rd
man/genMiss.Rd
man/addCorData.Rd
man/addPeriods.Rd
man/genData.Rd
man/genSurv.Rd
man/defData.Rd
man/addColumns.Rd
man/genCluster.Rd
man/defSurv.Rd
man/trtObserve.Rd
man/defReadAdd.Rd
man/mergeData.Rd
man/defRead.Rd
simstudy documentation built on May 20, 2017, 2:57 a.m.