DPParamsGam-class | R Documentation |
An S4 base class representing the privacy parameters in (ε,δ,γ)-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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.