revengc: An R package to Reverse Engineer Summarized Data

Decoupled (e.g. separate averages) and censored (e.g. > 100 species) variables are continually reported by many well-established organizations, such as the World Health Organization (WHO), Centers for Disease Control and Prevention (CDC), and World Bank. The challenge therefore is to infer what the original data could have been given summarized information. We present an R package that reverse engineers censored and/or decoupled data with two main functions. The function estimates the average and dispersion parameter of a censored univariate frequency table. The rec() function reverse engineers summarized data into an uncensored bivariate table of probabilities.

Samantha Duchscherer , Robert Stewart , Marie Urban

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at

CRAN packages used

revengc, truncdist, mipfp

CRAN Task Views implied by cited packages



Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Duchscherer, et al., "The R Journal: revengc: An R package to Reverse Engineer Summarized Data", The R Journal, 2018

BibTeX citation

  author = {Duchscherer, Samantha and Stewart, Robert and Urban, Marie},
  title = {The R Journal: revengc: An R package to Reverse Engineer Summarized Data},
  journal = {The R Journal},
  year = {2018},
  note = {},
  doi = {10.32614/RJ-2018-044},
  volume = {10},
  issue = {2},
  issn = {2073-4859},
  pages = {114-123}