VAST_do | R Documentation |
Run a VAST model using data and settings that are specific to the US West Coast. Many parameters are still customizable, but many parameters are also set in the background based on the sampling protocols and data availability that are specific to each survey.
VAST_do(
Database,
settings,
conditiondir,
compiledir,
region = c("user", "california_current")
)
Database |
A data base returned from |
settings |
A list of settings used to run the
index-standardization model.
The full list of settings is available with
|
conditiondir |
A directory, either a full or relative path, that will be used to save the results. The directory will be created recursively if it does not already exist. |
compiledir |
A file path, either relative or full, to a directory where
the VAST cpp file will be compiled leading to three files saved to the disk.
Thus, users should have both read and write capabilities within this
directory. A single file path can be used for multiple models allowing for
the model to be only compiled once rather than multiple times.
This file path is tranfered to the |
region |
A single character value specifying the region of interest.
This value will be passed to
|
Nothing is returned from the function, but many items are saved
to the disk, largely by other helper functions that are called by
VAST_do. All R objects are saved in a file called "Save.RData"
within conditiondir
.
Kelli F. Johnson
## Not run:
# Use the default settings to run the model for WCGBTS - sablefish
settings <- get_settings()
surveyspp <- get_spp(settings$Species)
Database <- get_data(survey = surveyspp["survey"], species = surveyspp["species"])
check <- VAST_do(Database = Database, settings = settings,
conditiondir = getwd(), compiledir = getwd())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.