Skip to contents

Construct a non-exit road type

Usage

roadType(
  id,
  name,
  costMultiplier,
  fluxMin = NULL,
  fluxMax = NULL,
  maxAge = NULL
)

Arguments

id

Integer. Road type ID.

name

Character. Road type name (no whitespace).

costMultiplier

Numeric. Multiplicative cost value.

fluxMin, fluxMax

Numeric. Required when the parent ForestRoadsSimulation's SimulationOfWoodFlux is enabled.

maxAge

Integer. Required when the parent's SimulationOfRoadAging is enabled.

Value

A list of class "RoadType".