| DPParamsDel-class {diffpriv} | R Documentation |
An S4 class for relaxed differential privacy parameters.
Description
An S4 base class representing the privacy parameters in
(\epsilon,\delta)-differential privacy.
Usage
## 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)
Arguments
object |
an object of class |
value |
a scalar numeric |
gamma |
a scalar numeric |
Methods (by generic)
-
show: automatically prints the object. -
getDelta: getter for slotdelta. -
setDelta<-: setter for slotdelta. -
toGamma: returns object to corresponding instance of subclassDPParamsGam.
Slots
epsilonpositive scalar numeric privacy level.
deltaa scalar numeric privacy level in interval [0,1).
See Also
DPParamsEps superclass,
DPParamsGam subclass for random relaxation.
[Package diffpriv version 0.4.2 Index]