Description Usage Arguments Details Value References Examples
reads an Epanet-msx .rpt file into R
1 |
file |
the name of the file to read |
Specify the needed outputs from an Epanet-msx simulation in the [REPORT] section of the .msx file to create reports for reading with with this function.
The function returns an S3 object (list) with a data.frame for node results and data.frame for link results. These data.frames contain results from all the time periods to facilitate time series plots.
Returns an epanetmsx.rpt S3 object .
nodeResults |
data.frame |
linkResults |
data.frame |
Shang, F., Uber, J.G., Rossman, L.A. (2011) EPANET Multi-species Extension User's Manual. US Environmental Protection Agency, Cincinnati.
1 2 3 4 5 6 7 8 | # path to example file included with this package
msr <- file.path( find.package("epanetReader"), "extdata","example.rpt")
#read the results into R
x <- read.msxrpt(msr)
names(x)
summary(x)
plot(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.