Learn R Programming

epanetReader (version 1.0.0)

Net1: 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

Arguments

Format

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

Examples

Run this code
#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")

Run the code above in your browser using DataLab