DPParamsEps-class: An S4 class for basic differential privacy parameters.

DPParamsEps-classR Documentation

An S4 class for basic differential privacy parameters.

Description

An S4 base class representing the basic privacy parameter ε in differential privacy.

Usage

## S4 method for signature 'DPParamsEps'
show(object)

## S4 method for signature 'DPParamsEps'
getEpsilon(object)

## S4 replacement method for signature 'DPParamsEps'
setEpsilon(object) <- value

## S4 method for signature 'DPParamsEps,numeric'
toGamma(object, gamma)

Arguments

object

an object of class DPParamsEps.

value

a scalar numeric ε.

gamma

a scalar numeric γ.

Methods (by generic)

  • show: automatically prints the object.

  • getEpsilon: getter for slot epsilon.

  • setEpsilon<-: setter for slot epsilon.

  • toGamma: returns object to corresponding instance of subclass DPParamsGam.

Slots

epsilon

positive scalar numeric privacy level.

See Also

DPParamsDel subclass for (ε,δ) relaxation, DPParamsGam subclass for random relaxation.


brubinstein/diffpriv documentation built on July 7, 2022, 4:23 a.m.