checkAccuracyVals: Check validity of accuracyVals

Description Usage Arguments Value

View source: R/utilities-covariance.R

Description

Verifies that accuracyVals has expected length and contains no values less than or equal to 0.

Usage

1
checkAccuracyVals(accuracyVals, expectedLength)

Arguments

accuracyVals

Vector of accuracy values where the ith accuracy will be used for the ith covariance calculation in flattened lower triangle of covariance matrix.

expectedLength

Integer value. Specifies how long the output ought to be.

Value

accuracyVals or errors.


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