Skip to contents

Writes the PnET species parameters file (§8 of the user guide). One row per species. Required columns are listed in .pnetSpeciesRequiredCols; allowed optional columns are listed in .pnetSpeciesOptionalCols. Unknown columns trigger an error.

Usage

prepPnETSpeciesParameters(
  df = NULL,
  path,
  filename = "PnETSpeciesParameters.txt"
)

Arguments

df

data.frame with one row per species. The first column must be SpeciesCode (species name as it appears in the LANDIS-II species 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.