Skip to content

ncrncornell/Rmtcd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Synthesizing Truncated Count Data for Confidentiality (Rmtcd)

mtcd is a standalone C++ implementation of the statistical model proposed in "Synthesizing Truncated Count Data for Confidentiality" (Github copy).

This repository contains a R wrapper around the original source code, with minor generalizations.

Installation

In R, run the following command:

library(devtools)
install_github(“ncrncornell/Rmtcd”)

then run

library(SyntheticData)

and you can call getSyntheticData() function .

If library(devtools) doesn’t work, you’ll need to install the library:

install.packages(“devtools”)

On Linux, a frequent error is failure of the install_github() function. Workaround (and more generic) is

install_git("https://github.com/ncrncornell/Rmtcd")

That always works.

Contributors

In order of contribution:

The original source code in C++ is available at http://sites.duke.edu/tcrn/research-projects/downloadable-software/ and at https://github.com/labordynamicsinstitute/flow-synthesis.

This package is maintained at https://github.com/ncrncornell/Rmtcd .

Funding

Development of the original code was supported under the NSF grant SES-1131897 (NCRN Duke-NISS). Development of the R wrapper was supported under NSF Grant SES-1131848 to Cornell University (NCRN Cornell)