Skip to contents

Writes the PnET ecoregion parameters file (§9 of the user guide). One row per active ecoregion. Required columns are listed in .pnetEcoregionRequiredCols; allowed optional columns are listed in .pnetEcoregionOptionalCols. ClimateFileName is required when the top-level ClimateConfigFile is not in use.

Usage

prepPnETEcoregionParameters(
  df = NULL,
  path,
  filename = "EcoregionParameters.txt"
)

Arguments

df

data.frame with one row per ecoregion. The first column must be EcoregionName (matching the ecoregion names in the LANDIS-II ecoregion input file).

path

Character. Path specifying a directory to use for the scenario runs.

filename

Character, specifying a filename (will be appended to path).

Value

Character string(s) specifying suitable LANDIS-II input file(s), created as a side effect of the function.