isConsistent: Function to check the consistency of a SUT system

Description Usage Arguments Value

Description

Given a SUT system containing a supply table and a domestic and a import use table, this function checks if the rows and columns are consistent.

Usage

1
isConsistent(SUT, tol = 0.0001, VA.included = FALSE)

Arguments

SUT

the SUT system to be tested

tol

the tolerance (epsilon), default = 1e-4

VA.included

is a value-added included in the SUT system? If yes, then the function also checks for consistent columns. Default = FALSE.

Value

If the SUT is consistent, returns only TRUE. If not, returns FALSE and a list of inconsistent rows and columns


zauster/riot documentation built on May 4, 2019, 9:12 p.m.