setToleranceforRAS: Calculate tolerance for RAS. Takes a target row sum vector...

View source: R/UtilityFunctions.R

setToleranceforRASR Documentation

Calculate tolerance for RAS. Takes a target row sum vector and target colsum vector. Specify either relative difference or absolute difference.

Description

Calculate tolerance for RAS. Takes a target row sum vector and target colsum vector. Specify either relative difference or absolute difference.

Usage

setToleranceforRAS(t_r, t_c, relative_diff = NULL, absolute_diff = NULL)

Arguments

t_r

A vector setting the target row sums of the matrix.

t_c

A vector setting the target column sums of the matrix.

relative_diff

A numeric value setting the relative difference of the two numerical vectors.

absolute_diff

A numeric value setting the mean absolute difference of the two numerical vectors.

Value

A numeric value of relative difference of t_r and t_c.


USEPA/useeior documentation built on April 12, 2024, 1:36 p.m.