fit_survey_maps | R Documentation |
fit_survey_maps()
is a helper function that calls
gfplot::fit_survey_sets()
appropriately for the various surveys.
fit_survey_maps(
dat,
species = "pacific cod",
include_depth = TRUE,
family = sdmTMB::tweedie(),
surveys = c("SYN QCS", "SYN HS", "SYN WCHG", "SYN WCVI"),
years = c(2017, 2018),
...
)
dat |
Data from |
species |
The species name. |
include_depth |
Logical for whether or not to include depth and depth squared as predictors. |
family |
Family |
surveys |
Character vector describing the surveys to fit. Can include multiple surveys if desired. |
years |
The years of survey data to use. |
... |
Any other arguments to pass to |
model |
Whether to fit an INLA or glmmfields model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.