DPParamsGam-class {diffpriv} | R Documentation |
An S4 base class representing the privacy parameters in
(\epsilon,\delta,\gamma)
-random differential privacy.
## 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)
object |
an object of class |
value |
a scalar numeric |
gamma |
scalar numeric |
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
.
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).
DPParamsEps
, DPParamsDel
superclasses.