Learn R Programming

swmmr (version 0.9.1)

write_inp: Write SWMM's .inp file

Description

Writes an inp object to disk which can be read and run by SWMM.

Usage

write_inp(x, file)

Arguments

x

An object of class 'inp', created by read_inp.

file

either a character string naming a file or a connection open for writing. "" indicates output to the console.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
  write_inp(inp, "~/model.inp")
# }

Run the code above in your browser using DataLab