get_settings: Add default settings to user list

View source: R/get_settings.R

get_settingsR Documentation

Add default settings to user list

Description

Get default settings for VASTWestCoast where users do not have to input a single value, but if they do, then get_settings will only add those values that are not already included in the list.

Usage

get_settings(settings = NULL, verbose = FALSE)

Arguments

settings

A list of the current settings where each object in the list must be named. Names that are in the stored list but not the list provided in this argument will be added to the value returned. The default value of NULL leads to a full list being returned.

verbose

A logical value specifying if messages should be output to the screen or not. The default value is FALSE, which leads to nothing being printed.

Value

A list of setting for running a conditioning model or a simulation with VAST.

Author(s)

Kelli F. Johnson

Examples

get_settings(list("nknots" = 300))
names(get_settings(c("yes" = 2), verbose = TRUE))

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