DPParamsGam-class {diffpriv} | R Documentation |
An S4 class for random differential privacy parameters.
Description
An S4 base class representing the privacy parameters in
(\epsilon,\delta,\gamma)
-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 |
value |
a scalar numeric |
gamma |
scalar numeric |
Methods (by generic)
-
show
: automatically prints the object. -
getGamma
: getter for slotgamma
. -
setGamma<-
: setter for slotgamma
. -
toGamma
: returns object with set gamma; generic for use with superclassesDPParamsEps
andDPParamsDel
.
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.
[Package diffpriv version 0.4.2 Index]