The module's debug event: runs fireSenseUtils::.objfunSpreadFit() once per parameter set, with plots.

runSpreadWithoutDEoptim(
  nSets = 1L,
  lower,
  upper,
  fireSense_spreadFormula,
  flammableRTM,
  annualDTx1000,
  nonAnnualDTx1000,
  fireBufferedListDT,
  mutuallyExclusive = list(youngAge = "vegPC"),
  doObjFunAssertions,
  historicalFires,
  covMinMax,
  covCentre = NULL,
  climateRef = NULL,
  objfunFireReps,
  maxFireSpread,
  weighted = TRUE,
  tests = "crps",
  formulaToFit,
  pars = NULL,
  plot.it = TRUE,
  seed = NULL,
  escapeSizeHa = NULL,
  sizeLik = "kde",
  sizeLikDf = 5,
  adWeight = "auto",
  link = NULL,
  powerLawGamma = fireSenseUtils::spreadPowerLawGamma,
  powerLawShape = fireSenseUtils::spreadPowerLawShape,
  lowerAsymptote = fireSenseUtils::spreadProbFloor,
  richardsNu = fireSenseUtils::spreadRichardsNu,
  jumpTries = 0,
  jumpMeanDist = 0,
  yearAreaWeight = 0,
  areaDistWeight = 0,
  crpsWeights = NULL,
  gateRefusal = "minLik",
  penaliseRunaways = TRUE,
  runawayEdgeFrac = fireSenseUtils::fireSenseRunawayEdgeFrac,
  runawayEdgeMin = fireSenseUtils::fireSenseRunawayEdgeMin,
  runawayBufferMultiple = NULL,
  wholeLandscape = FALSE
)

Arguments

nSets

integer; number of random parameter sets, drawn uniformly between lower and upper. Not used with pars.

lower, upper

numeric; bounds the random parameter sets are drawn between.

fireSense_spreadFormula

character; passed to FS_formula.

flammableRTM

SpatRaster; passed to landscape.

annualDTx1000, nonAnnualDTx1000, fireBufferedListDT, historicalFires

elements of the list made by fireSenseUtils::covsX1000AndSetDF().

mutuallyExclusive

named list of mutually exclusive covariates.

doObjFunAssertions

logical, no default: the module passes its parameter of that name, so one place (options(fireSenseUtils.assertions = )) sets it. Passed to doAssertions.

covMinMax

data.table of covariate min and max, or NULL for no rescaling.

covCentre

named list of covariate centres (fireSenseUtils::spreadCovCentre()) subtracted from the rescaled covariates, as in the fit; NULL (no intercept) centres nothing. Passed to .objfunSpreadFit().

climateRef

named list, the fit's climate reference (fireSenseUtils::spreadClimateRef(); spreadLink = "climateOutside"), or NULL (the default link). Passed to .objfunSpreadFit() like covCentre.

objfunFireReps

integer; passed to Nreps, the replicates per fire.

maxFireSpread

numeric; upper limit on mean spread probability.

weighted

passed to .objfunSpreadFit().

tests

character; objective function tests, e.g. "crps", "adTest".

formulaToFit

character; the spread formula.

pars

optional numeric vector, or list of them, to evaluate instead of random sets.

plot.it

passed to .objfunSpreadFit().

seed

integer or NULL; set.seed() value. NULL draws one at random.

escapeSizeHa

passed to .objfunSpreadFit(): fit escaped fires only (NULL: any fire over 1 pixel).

passed to .objfunSpreadFit(), so it runs the objective the fit uses. The defaults are that function's.

powerLawGamma

numeric; the "powerLaw" link's gamma (fireSenseUtils::powerLawLink()), used with link = "powerLaw". Passed to .objfunSpreadFit().

powerLawShape

numeric; the "powerLaw" link's shape, passed like powerLawGamma.

lowerAsymptote, richardsNu

numeric; the lower asymptote of the "powerLawSmooth" and "richards" links and the nu of "richards" (fireSenseUtils::powerLawSmoothLink(), richardsLink()), passed like powerLawGamma.

wholeLandscape

passed to .objfunSpreadFit(): spread every fire on all pixels of the tables.

Value

NULL.