Make cumulative habitat for river
make_habitat.Rd
Function used to make habitat for rivers listed
in get_rivers
from the built-in dataset(s)
Usage
make_habitat(
river,
species = c("AMS", "ALE", "BBH"),
upstream,
custom_habitat = NULL
)
Arguments
- river
Character string specifying river name
- species
Species for which population dynamics will be simulated. Choices include American shad (
"AMS"
), alewife ("ALE"
), and blueback herring ("BBH"
).- upstream
Proportional upstream passage through dams. A numeric vector of length 1 or length matching the number of rows in habitat data for selected
river
andspecies
.- custom_habitat
A dataframe containing columns corresponding to the those in the output from
custom_habitat_template
. The default,NULL
uses the default habitat data set for a given combination ofspecies
andriver
.