Conf object which contains all the configuration information for calculating scores. This creates an R object that combines into a single object all the information from the following files: config.R, functions.R, goals.csv, pressures_matrix.csv, resilience_matrix.csv, resilience_weights.csv.

Arguments

dir

path to directory containing necessary files, e.g., eez2015/conf

Value

Object reference class of Config containing:

  • config - concise description

  • functions - concise description

  • goals - concise description

  • pressures_matrix - concise description

  • resilience_matrix - concise description

  • resilience_categories - concise description

  • pressure_categories - concise description

Details

To create this object: Conf(dir). The dir is expected to have the following files:

  • config.R

  • functions.R

  • goals.csv

  • pressures_matrix.csv

  • resilience_matrix.csv

  • resilience_weights.csv

  • pressure_categories

See also Conf_write() to write the configuration back to disk.