Skip to contents

Defines one land use entry for LandUsePlus. Each land use has a unique name and mapCode, an allowHarvest flag, an optional preventEstablishment flag, and one or more landCoverChange() blocks describing what happens to existing trees.

Usage

landUseType(
  name,
  mapCode,
  allowHarvest = TRUE,
  preventEstablishment = FALSE,
  changes = list(),
  plant = NULL
)

Arguments

name

Character. Land-use name (no internal whitespace; quoted automatically when written).

mapCode

Integer. Numeric code matching the input raster.

allowHarvest

Logical (or "yes"/"no"). Whether harvesting is permitted. Defaults to TRUE to match the LU+ v4 user-guide default.

preventEstablishment

Logical. When TRUE, the keyword PreventEstablishment is emitted (which blocks tree establishment).

changes

List of LandCoverChange objects (see landCoverChange()).

plant

(Optional) Character. Species code planted after change.

Value

A list of class "LandUseType".