DPParamsGam-class: An S4 class for random differential privacy parameters.

DPParamsGam-classR Documentation

An S4 class for random differential privacy parameters.

Description

An S4 base class representing the privacy parameters in (ε,δ,γ)-random differential privacy.

Usage

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

## S4 method for signature 'DPParamsGam'
getGamma(object)

## S4 replacement method for signature 'DPParamsGam'
setGamma(object) <- value

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

Arguments

object

an object of class DPParamsGam.

value

a scalar numeric γ.

gamma

scalar numeric γ.

Methods (by generic)

  • show: automatically prints the object.

  • getGamma: getter for slot gamma.

  • setGamma<-: setter for slot gamma.

  • toGamma: returns object with set gamma; generic for use with superclasses DPParamsEps and DPParamsDel.

Slots

epsilon

positive scalar numeric privacy level.

delta

a scalar numeric privacy level in interval [0,1).

gamma

a scalar numeric privacy level in [0, 1).

See Also

DPParamsEps, DPParamsDel superclasses.


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