read.enam: R function to read in a matrix formatted as Mdloti (Ursula...

Description Usage Arguments Value Author(s) References See Also

View source: R/read.enam.R

Description

This function reads network data from an excel file commonly used by Ursula Sharler. The file has three header lines (name/source, number of compartments, number of living nodes) and then a n+2 x n+2 matrix of flows. This is the flow matrix with an additional row for imports and biomass each and additional columns for exports and respirations.

Usage

1
read.enam(file = "file path and name")

Arguments

file

The name and path for the data file. This function assumes the data are stored on the first sheet of an Microsoft Excel formatted. NOTE: this function depends on the read.xlsx function from the xlsx package, which requires that the entire path be specified from the root directory (i.e. the absolute path).

Value

Returns the network object.

Author(s)

Stuart R. Borrett

References

Fath, B. D., Borrett, S. R. 2006. A Matlab function for Network Environ Analysis. Environ. Model. Softw. 21, 375-405.

See Also

read.scor


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