clean_data | R Documentation |
Many specific column names are needed for VAST but the data are downloaded from several repositories, thus making cleaning the data a necessary step before running VAST. This function attempts to standardize the columns to work with VAST.
clean_data(data)
data |
A data frame that you want to use for a VAST model. |
todo: figure out area swept for the different surveys
WCGBTS and all AFSC surveys are in KG/Hectare but early on
I used "AreaSwept_km2" = 0.01
todo: ensure that there are no NA
values, i.e., na.omit(data)
Kelli F. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.