Learn R Programming

SmallCountRounding (version 1.2.5)

Small Count Rounding of Tabular Data

Description

A statistical disclosure control tool to protect frequency tables in cases where small values are sensitive. The function PLSrounding() performs small count rounding of necessary inner cells so that all small frequencies of cross-classifications to be published (publishable cells) are rounded. This is equivalent to changing micro data since frequencies of unique combinations are changed. Thus, additivity and consistency are guaranteed. The methodology is described in Langsrud and Heldal (2018) .

Copy Link

Version

Install

install.packages('SmallCountRounding')

Monthly Downloads

300

Version

1.2.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Oyvind Langsrud

Last Published

September 24th, 2025

Functions in SmallCountRounding (1.2.5)

aggrtab

function aggrtab
SmallCountData

Function that returns a dataset
SmallCountRounding-package

Small Count Rounding of Tabular Data
makeroundtabs

function makeroundtabs
print.PLSrounded

Print method for PLSrounded
reexports

Objects exported from other packages
roundcube

function roundcube
RoundViaDummy

Small Count Rounding of Tabular Data
RoundViaDummy2

RoundViaDummy2
redcube

function redcube
MakeControl

Make suggested control - input to makeroundtabs()
FormulaSelection.PLSrounded

FormulaSelection method for PLSrounded
PLSroundingLoop

PLSrounding on portions of data at a time
PLSroundingFits

Small count rounding with post-processing to expected frequencies
PLSrounding

PLS inspired rounding
PLS2way

Two-way table from PLSrounding output
HD

Hellinger Distance (Utility)
Round2

Small count rounding by various methods
Lists2formula

Make formula from input parameters to makeroundtabs()
FindMaxDiff

Calculate maxdiff nMaxdiff