compare_spatial_vars.Rd
Creates post-processing output for Atlantis
compare_spatial_vars(
param.dir,
run.dirs,
run.names,
ref.data,
init.data,
out.dir,
out.name,
param.ls,
data.type = "proportion",
comparison.type = "difference",
ref.years,
speciesCodes = NULL,
plot = T
)
string. Path to location of atlantis parameter files
character vector of paths to location of atlantis output files
character vector of run names corresponding to run.dirs
dataframe that contains reference spatial data with format (polygon|species|var.name|statistic|ref.value)
dataframe that contains initial spatial data with format (polygon|species|var.name|statistic|init.value)
string. path to desired location of post-processed output
string. name for output file prefix
list generated from get_atl_paramfiles()
which type of data is being compared: 'proportion','value'
which type of comparison should be made: 'difference','scalar'
numeric vector with first and last year (years from start) for comparison period
character vector. List of species to make plots for. Defaul = NULL (All species)
logical. do you want to generate a plot
Either saves an R object or returns a list called "result"
Author: Joseph Caracappa