write.inp: Write .inp file

Description Usage Arguments Details Value Examples

View source: R/write.inp.r

Description

Write an epanet.inp object to a file

Usage

1

Arguments

x

epanet.inp object to write

file

the name of the file where object is written

Details

Writes an epanet.inp object to a file suitable for simulation with EPANET.

Value

nothing

Examples

1
2
3
write.inp(Net1, "Net1-fromR.inp")
n1 <- read.inp("Net1-fromR.inp")
all.equal(Net1, n1)

epanetReader documentation built on May 2, 2019, 2:08 p.m.