Plots water flow and watersheds. See the flow_plot article/vignette for examples.
flow_plot(
db,
type = "relief",
dir = FALSE,
seqno = FALSE,
highlight = FALSE,
shed = FALSE,
shed_type = "local",
pits = FALSE,
upslope_threshold = NULL,
cells = NULL,
clim = NULL,
rlim = NULL,
stats = NULL,
missing = NA
)
Data frame. Cell by cell data on the elevation of the watershed.
Output by LITAP's flow_mapper()
function.
Character. Either relief or elevation. Defaults to relief.
Logical. Include flow directions?
Logical. Include cell numbering?
Logical. Highlight selected cells?
Logical. Show watersheds?
Character. Which type of watershed, must be included as a column in the data frame. Can be one of 'initial', 'local', 'fill', 'inv_initial', or 'inv_local'/'inverted'.
Logical. Show watershed pits (lowest point)
Numeric. If dir = TRUE, only show flow directions for cells with >= this many cells which drain to it.
Vector. Which cells to show
Numeric vector. Column limits in format c(0, 100)
Numeric vector. Row limits in format c(0, 100)
Data frame. Data frame of watershed stats to highlight pour points.
Character. What is the value of missing data? Defaults to NA