Learn R Programming

GaussSuppression (version 1.3.0)

Tabular Data Suppression using Gaussian Elimination

Description

A statistical disclosure control tool to protect tables by suppression using the Gaussian elimination secondary suppression algorithm (Langsrud, 2024) . A suggestion is to start by working with functions SuppressSmallCounts() and SuppressDominantCells(). These functions use primary suppression functions for the minimum frequency rule and the dominance rule, respectively. Novel functionality for suppression of disclosive cells is also included. General primary suppression functions can be supplied as input to the general working horse function, GaussSuppressionFromData(). Suppressed frequencies can be replaced by synthetic decimal numbers as described in Langsrud (2019) .

Copy Link

Version

Install

install.packages('GaussSuppression')

Monthly Downloads

340

Version

1.3.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Oyvind Langsrud

Last Published

February 26th, 2026

Functions in GaussSuppression (1.3.0)

NContributorsRule

Number of contributors suppression rule
KDisclosurePrimary

Construct primary suppressed difference matrix
IncrementalTimeSuppression

Incremental Time Suppression
IntervalLimits

Construct feasibility interval requirements
Ncontributors

Find the number of unique groups contributing to aggregates
NcontributorsHolding

Ncontributors with holding-indicator
LazyLinkedTables

Linked tables by full GaussSuppressionFromData iterations
MaxContribution

Find major contributions to aggregates
HierarchyContributors

Counts of input code contributions
MagnitudeRule

Dominance (n,k) or p% rule for magnitude tables
SuppressDirectDisclosure

Suppression of directly-disclosive cells
PrimaryDefault

Default primary function
PrimaryFromRiskyDefault

Additional primary cells based on risky primary cells
PrimaryRemoveWg

Special functions for the avoidance of suppression
PrimaryFromSuppressedData

primary and forced from suppressed data
PackageSpecs

Function for viewing built-in GaussSuppression specs
SuppressDominantCells

Suppress magnitude tables using dominance (n,k) or p% rule for primary suppression.
SingletonDefault

Default singleton function
SingletonUniqueContributor

Unique contributor singleton function
NcontributorsRule

Identical to ´NContributorsRule´
default_targeting

Default targeting function for SuppressKDisclosure()
SuppressSmallCounts

Small count frequency table suppression.
SuppressFewContributors

Few contributors suppression
SuppressKDisclosure

K-disclosure suppression
SuppressLinkedTables

Consistent Suppression of Linked Tables
reexports

Objects exported from other packages
SuppressionFromDecimals

Cell suppression from synthetic decimal numbers
X_from_mc

Function to be used within KDisclosurePrimary
FindDominantCells

Method for finding dominant cells according to (possibly multiple) n,k dominance rules.
ChainedSuppression

Repeated GaussSuppression with forwarding of previous results
GaussSuppressDec

Cell suppression with synthetic decimal numbers
ComputeIntervals

Function for calculating intervals for suppressed tables.
GaussSuppressionFromData

Cell suppression from input data containing inner cells
GaussSuppressionTwoWay

Two-way iteration variant of GaussSuppressionFromData
FixRiskyIntervals

New primary cells to fix risky intervals
CandidatesDefault

Candidates functions
AdditionalSuppression

GaussSuppression from data and suppressed data
GetDefault

Get default value of a function