View source: R/apply_fallback_rates_summarize.R
apply_fallback_rates | R Documentation |
applies the estimated fallback rates to the estiamted ascension composition to yield estimated escapement
apply_fallback_rates(
breakdown,
fallback_rates,
split_H_fallback = c("var1", "var2", "both"),
split_HNC_fallback = c("var1", "var2", "both"),
split_W_fallback = c("var1", "var2", "both"),
H_groups = NULL,
HNC_groups = NULL,
W_groups = NULL,
stratAssign_fallback,
stratAssign_comp,
alpha_ci = 0.1,
output_type = c("summary", "W_boot", "full")
)
breakdown |
The output of either |
fallback_rates |
The fallback rates portion of the output of |
split_H_fallback |
one of "var1", "var2", or "both" indicating which variable(s) should be used to link estimates of composition with fallback rates for "H" fish |
H_groups |
|
HNC_groups |
|
W_groups |
|
stratAssign_fallback |
tibble with sWeek, stockGroup, stratum showing what stratum each sWeek corresponds to for each stockGroup |
stratAssign_comp |
tibble with sWeek, stratum showing what stratum each sWeek corresponds to for composition estimation using the trap data |
alpha_ci |
the alpha value for CI calculation |
output_type |
one of "summary", "W_boot", or "full" dependign on the output type you want |
split_HNC_fallbackone |
of "var1", "var2", or "both" indicating which variable(s) should be used to link estimates of composition with fallback rates for "HNC" fish |
split_W_fallbackone |
of "var1", "var2", or "both" indicating which variable(s) should be used to link estimates of composition with fallback rates for "W" fish |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.