Test whether disturbance should be scheduled

scheduleDisturbance(disturbanceLayer, currentYear)

Arguments

disturbanceLayer

a RasterLayer object

currentYear

time of simulation

Value

Logical indicating whether to schedule a disturbance event

Examples

if (FALSE) {
  doEvent <- scheduleDisturbance(sim$rstCurrentBurn, time(sim), disturbanceType = "Burn")
}