DPParamsEps-class | R Documentation |
An S4 base class representing the basic privacy parameter ε in differential privacy.
## 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)
object |
an object of class |
value |
a scalar numeric ε. |
gamma |
a scalar numeric γ. |
show
: automatically prints the object.
getEpsilon
: getter for slot epsilon
.
setEpsilon<-
: setter for slot epsilon
.
toGamma
: returns object to corresponding instance of subclass
DPParamsGam
.
epsilon
positive scalar numeric privacy level.
DPParamsDel
subclass for (ε,δ)
relaxation, DPParamsGam
subclass for random relaxation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.