checkEpsilonDist: Check validity of epsilonDist

Description Usage Arguments Value

View source: R/utilities-covariance.R

Description

Verifies that all percentages in epsilonDist are values between 0 and 1, sum to 1, and that epsilonDist has expected length.

Usage

1
checkEpsilonDist(epsilonDist, expectedLength = 1)

Arguments

epsilonDist

Vector of percentages (valued 0 to 1) that describes how global epsilon globalEps should be split for each covariance calculation.

Value

epsilonDist or errors.


privacytoolsproject/PSI-Library documentation built on Feb. 17, 2020, 2:03 p.m.