View source: R/stitch-survey.R
add_upr | R Documentation |
Add column containing upper limit for censored poisson
add_upr(
dat,
prop_removed_col,
n_catch_col,
n_hooks_col,
pstar_col = "pstar",
pstar = NULL
)
dat |
A data frame from |
prop_removed_col |
Name of the column containing the proportion of baits removed in each fishing event from any species. I.e., the proportion of hooks returning without bait for any reason. |
n_catch_col |
Name of the column containing the observed catch counts on each fishing event of the target species. |
n_hooks_col |
Name of the column containing the number of hooks retrieved on each fishing event. |
pstar_col |
Name of the column containing a single value between
|
pstar |
Optional. If |
dat
with a new column upr
containing numeric vector of upper
bound catch counts of the target species to improve convergence of the censored
method. See the documentation in [sdmTMB::get_censored_upper()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.