plot.vast.enviro.response: Plot estimated catchability effects. Currently assumes only...

Description Usage Arguments

View source: R/plot.vast.enviro.response.r

Description

Plot estimated catchability effects. Currently assumes only one set of interactions and no splines on catchability.

Usage

1
2
3
4
5
6
7
plot.vast.enviro.response(
  vast.output,
  enviro.formula,
  report.enviro,
  save.dir,
  save.name
)

Arguments

vast.output

The output from a fit.vast function call

enviro.formula

The formula for the environmental covariates (abundance) that was passed to fit.vast as a part of the enviro argument

report.enviro

Named list ('mean', 'sd', 'min', and 'max') where each element of the list is a vector of length covariates in enviro.formula containing the appropriate metric. This is assuming that the environmental covariate was scaled to mean 0 and sd 1 prior to passing to fit.vast.

save.dir

Path to the directory where the outputs will be saved

save.name

Name stem for the output, useful when saving many model outputs in the same directory


PacificCommunity/ofp-sam-vast-utils documentation built on Nov. 2, 2020, 7:05 p.m.