convert_survey4vast: Convert survey name to VAST column name

View source: R/convert_survey4vast.R

convert_survey4vastR Documentation

Convert survey name to VAST column name

Description

Convert a character string that specifies the survey name in terms of nwfscSurvey to that used in the get_inputgrid column of the grid provided by VAST.

Usage

convert_survey4vast(survey)

Arguments

survey

A character value supplying the survey name. The value is typically an acronym. See createMatrix() for a list of defaults.

Value

A vector of character values, one for each input value, that specifies the column of the grid data to use for the area sampled. The default is to return the NWFSC WCGBTS name, thus even values that don't pertain to a survey will return "propInWCGBTS".

Author(s)

Kelli F. Johnson

Examples

test <- convert_survey4vast(c("Triennial", "NWFSC.Combo"))


nwfsc-assess/VAST_WestCoast documentation built on July 4, 2023, 5:45 p.m.