habitat_fsa.Rd
Create Flow-To-Suitable-Area Curve for Reach, Mainstem, or Watershed
habitat_fsa(reach, mainstem, watershed, habitat_type = "rearing", units = "ft")
Integer comid
identifier for reach (must provide either reach, mainstem, OR watershed)
String name for mainstem (refer to cv_mainstems
dataset for options)
String name for watershed (refer to cv_watersheds
dataset for options)
Either "rearing" (default) or "spawning"
Either "ft" for square ft per linear ft, or "ac" for total acres
A tibble
with columns for flow (flow_cfs
) and suitable habitat (habitat
)
habitat_fsa(reach = 7978069, units = "ft")
#> # A tibble: 50 x 2
#> flow_cfs habitat
#> <dbl> <dbl>
#> 1 50.1 0.145
#> 2 56.2 0.145
#> 3 63.1 0.146
#> 4 70.8 0.146
#> 5 79.4 0.146
#> 6 89.1 0.147
#> 7 100 0.148
#> 8 112. 0.152
#> 9 126. 0.152
#> 10 141. 0.156
#> # i 40 more rows
habitat_fsa(mainstem = "Feather River", units = "ac")
#> # A tibble: 50 x 2
#> flow_cfs habitat
#> <dbl> <dbl>
#> 1 50.1 0.811
#> 2 56.2 0.821
#> 3 63.1 0.836
#> 4 70.8 0.845
#> 5 79.4 0.857
#> 6 89.1 0.895
#> 7 100 0.934
#> 8 112. 0.970
#> 9 126. 1.00
#> 10 141. 1.04
#> # i 40 more rows