Shiny Module Server for basin generation
basinMod(input, output, session, values, dem, threshold = 1000, map, ...)
server function for Shiny module
Shiny server function input
Shiny server function output
Shiny server function session
A reactive Values list to pass
A raster or terra object dem.
A threshold for stream initiation. 1000 (default).
a background leaflet or mapview map to be used for editing. If NULL a blank mapview canvas will be provided.
arguments to pass to wbt_* functions.