computeN: Compute N

View source: R/computeN.R

computeNR Documentation

Compute N

Description

Calculates N given gamma.

Usage

computeN(gamma)

Arguments

gamma

numeric Value of gamma to compute N

Details

Computation is performed following Theorem 15 of Rubinstein, Benjamin IP, and Francesco Aldà. "Pain-free random differential privacy with sensitivity sampling." International Conference on Machine Learning. PMLR, 2017.

Value

A number to be used as N on re-sampling methods.


isglobal-brge/dsOmics documentation built on Nov. 11, 2024, 4:18 a.m.