DPParamsDel-class {diffpriv} | R Documentation |
An S4 base class representing the privacy parameters in
(\epsilon,\delta)
-differential privacy.
## S4 method for signature 'DPParamsDel'
show(object)
## S4 method for signature 'DPParamsDel'
getDelta(object)
## S4 replacement method for signature 'DPParamsDel'
setDelta(object) <- value
## S4 method for signature 'DPParamsDel,numeric'
toGamma(object, gamma)
object |
an object of class |
value |
a scalar numeric |
gamma |
a scalar numeric |
show
: automatically prints the object.
getDelta
: getter for slot delta
.
setDelta<-
: setter for slot delta
.
toGamma
: returns object to corresponding instance of subclass
DPParamsGam
.
epsilon
positive scalar numeric privacy level.
delta
a scalar numeric privacy level in interval [0,1).
DPParamsEps
superclass,
DPParamsGam
subclass for random relaxation.