plot: Plot a swmm model structure using ggplot2

Description Usage Arguments Note Examples

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

1
2
## S3 method for class 'inp'
autoplot(x, ...)

Arguments

x

An inp object

...

currently ignored

Note

Lifecycle: experimental

Examples

1
2
3
4
5
## Not run: 
inp <- read_inp("model.inp")
autoplot(inp)

## End(Not run)

dleutnant/swmmr documentation built on Feb. 8, 2022, 2:07 a.m.