wrapper_surveyIndex.RdFunction to create a mesh, fit the GAM model, and get the index. TOLEDO: need to build out, this is just a holding spot Exports fit.rds and index.rds files to the designated species folder. Learn more: https://github.com/casperwberg/surveyIndex
wrapper_surveyIndex(x, y, z, dir_spp, spp_info, n_knots = 500)speciesname_df[[i]] which is a data frame from a list of data frames created from the cleanup_by_species() function and any further post-processing of depth filters (see the smaller_function.R file for those).
speciesname_files[[i]] which is an item in a list created from
A dataframe with the new data to predict on.
A character string specifying the directory for output files.
information about the species test run.
Numeric. Default = 500. names(speciesname_df)
if (FALSE) { # \dontrun{
wrapper_surveyIndex() # TO DO: NEED EXAMPLE OF HOW TO USE
} # }