Skip to contents

Calculates the total storage in each n input and output environs. This function calculates the storage for both the unit input (output) and the realized input (output) environs. Realized uses the observed inputs (outputs) rather than an assumed unit input (output) to each node.

Usage

TES(x, balance.override = FALSE)

Arguments

x

A network object.

balance.override

LOGICAL: should balancing being ignored.

Value

realized.input

input oriented, realized storage in each environ.

realized.output

output oriented, realized storage in each environ.

unit.input

input oriented, unit storage in each environ.

unit.output

input oriented, unit storage in each environ.

References

Matis, J.H. and Patten, B.C. 1981. Environ analysis of linear compartmenal systems: the static, time invariant case. Bulletin of the International Statistical Institute. 48, 527–565.

Author

Matthew K. Lau Stuart R. Borrett David E. Hines

Examples

data(troModels)
tes <- TES(troModels[[6]])
tes
#> $realized.input
#>           PLANTS         BACTERIA DETRITUS FEEDERS       CARNIVORES 
#>            285.0            117.0             60.0             17.0 
#>         DETRITUS 
#>           3579.4 
#> 
#> $realized.output
#> [1] 3806.6021    0.0000    0.0000    0.0000  251.7979
#> 
#> $unit.input
#>           PLANTS         BACTERIA DETRITUS FEEDERS       CARNIVORES 
#>       0.12061231       0.03911968       0.05421812       0.04917124 
#>         DETRITUS 
#>       1.50458176 
#> 
#> $unit.output
#>           PLANTS         BACTERIA DETRITUS FEEDERS       CARNIVORES 
#>       0.34036142       0.14571606       0.09334199       0.22492127 
#>         DETRITUS 
#>       0.39653216 
#>