fit_sdmTMB_westcoast: Fit a geostatistical index standardization model to survey...

View source: R/geostatistical-index.R

fit_sdmTMB_westcoastR Documentation

Fit a geostatistical index standardization model to survey data

Description

Fit a geostatistical index standardization model to survey data

Usage

fit_sdmTMB_westcoast(
  dat,
  survey,
  species_name = "",
  cutoff = 15,
  cell_width = 2,
  anisotropy = FALSE,
  silent = TRUE,
  bias_correct = FALSE,
  include_depth = FALSE
)

Arguments

survey

Survey abbreviation for the survey to fit.

species_name

Species name. Only used in the output to help with processing.

cutoff

Mesh cutoff for sdmTMB::make_mesh().

cell_width

Sell width for the prediction grid.

anisotropy

Logical for anisotropy.

silent

Logical for verbosity of output.

bias_correct

Logical for bias correction from TMB.

include_depth

Logical for whether to include depth in the model.

species_rds

File path to an .rds file from gfdata::cache_pbs_data().

Value

A list object.


pbs-assess/gfsynopsis documentation built on March 26, 2024, 7:30 p.m.