View source: R/vast_functions.R
run_vast_condition | R Documentation |
Run VAST to estimate fish condition
run_vast_condition(
x,
n_knots = NULL,
response = "count",
fork_lengths_mm = NULL
)
x |
data.frame containing species_code, region, ObsModel_1, ObsModel_2, ObsModel_3, and ObsModel_4. |
n_knots |
Number of knots to use to generate the mesh. Default NULL = use n_knots from the input data.frame. |
response |
"count" or "biomass" |
fork_lengths_mm |
Optional. Lengths in millimeters to use. Passed to akfishcondition::select_species() |
x <- dplyr::filter(akfishcondition::ESR_SETTINGS$VAST_SETTINGS, region == "EBS")
x <- dplyr::filter(x, species_code == 21740)
run_vast_condition(x = x, n_knots = 250)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.