ssCheck: Checks if the given network is out of balance by a given...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/ssCheck.R

Description

This function supports the balancing process by checking if the inputs and outputs of a given network model are within acceptable limits.

Usage

1
ssCheck(x, tol = 5, more = FALSE, zero.na = TRUE)

Arguments

x

A network object.

tol

The threshold for balance in percent difference between input and outputs.

more

LOGICAL: should more detailed results be returned?

zero.na

LOGICAL: should NA values be changed to zeros?

Value

Returns a logical value stating if the model is within acceptable limits of balance (TRUE) or if it is not (FALSE).

Author(s)

Matthew K. Lau Stuart R. Borrett

References

Fath, B.D. and S.R. Borrett. 2006. A MATLAB function for network environ analysis. Environmental Modelling & Software 21:375-405.

See Also

balance

Examples

1
2
3

enaR documentation built on May 1, 2019, 10:54 p.m.