An S4 base class representing the basic privacy parameter \(\epsilon\) in differential privacy.

# S4 method for DPParamsEps
show(object)

# S4 method for DPParamsEps
getEpsilon(object)

# S4 method for DPParamsEps
setEpsilon(object) <- value

# S4 method for DPParamsEps,numeric
toGamma(object, gamma)

Arguments

object

an object of class DPParamsEps.

value

a scalar numeric \(\epsilon\).

gamma

a scalar numeric \(\gamma\).

Methods (by generic)

  • show: automatically prints the object.

  • getEpsilon: getter for slot epsilon.

  • setEpsilon<-: setter for slot epsilon.

  • toGamma: returns object to corresponding instance of subclass DPParamsGam.

Slots

epsilon

positive scalar numeric privacy level.

See also

DPParamsDel subclass for \((\epsilon,\delta)\) relaxation, DPParamsGam subclass for random relaxation.