Net1 {epanetReader}R Documentation

Epanet's Net1 Example

Description

A dataset created by reading the Net1.inp file distributed with Epanet using this package's read.inp() function.

Usage

Net1

Format

An object of class epanet.inp created by read.inp.

Source

http://www.epa.gov/sites/production/files/2014-06/en2setup_0.exe

Examples

#confirm built-in dataset matches output of read.inp
inp <- file.path( find.package("epanetReader"), "extdata","Net1.inp") 
n1 <- suppressWarnings( read.inp(inp) )
ok <- isTRUE( all.equal(Net1, n1))
if( ok==FALSE) stop("built-in Net1 doesn't match read.inp")

[Package epanetReader version 0.7.3 Index]