Learn R Programming

swmmr (version 0.9.1)

autoplot.inp: Plot a swmm model structure using ggplot2

Description

This function reads an object of class 'inp'. All objects are converted to simple feature geometries via inp_to_sf and finally passed to geom_sf. It allows to quickly visualize a model structure.

Usage

autoplot.inp(x, ...)

Arguments

x

An inp object

...

currently ignored

Examples

Run this code
# NOT RUN {
inp <- read_inp("model.inp")
autoplot(inp)
# }

Run the code above in your browser using DataLab