DPParamsEps-class {diffpriv} | R Documentation |
An S4 class for basic differential privacy parameters.
Description
An S4 base class representing the basic privacy parameter \epsilon
in
differential privacy.
Usage
## S4 method for signature 'DPParamsEps'
show(object)
## S4 method for signature 'DPParamsEps'
getEpsilon(object)
## S4 replacement method for signature 'DPParamsEps'
setEpsilon(object) <- value
## S4 method for signature 'DPParamsEps,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. -
getEpsilon
: getter for slotepsilon
. -
setEpsilon<-
: setter for slotepsilon
. -
toGamma
: returns object to corresponding instance of subclassDPParamsGam
.
Slots
epsilon
positive scalar numeric privacy level.
See Also
DPParamsDel
subclass for (\epsilon,\delta)
relaxation, DPParamsGam
subclass for random relaxation.
[Package diffpriv version 0.4.2 Index]