runSpreadWithoutDEoptim.RdThe 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
)integer; number of random parameter sets, drawn uniformly between lower and upper.
Not used with pars.
numeric; bounds the random parameter sets are drawn between.
character; passed to FS_formula.
SpatRaster; passed to landscape.
elements of the list made
by fireSenseUtils::covsX1000AndSetDF().
named list of mutually exclusive covariates.
logical, no default: the module passes its parameter of that name, so one
place (options(fireSenseUtils.assertions = )) sets it. Passed to doAssertions.
data.table of covariate min and max, or NULL for no rescaling.
named list of covariate centres (fireSenseUtils::spreadCovCentre()) subtracted from the
rescaled covariates, as in the fit; NULL (no intercept) centres nothing. Passed to .objfunSpreadFit().
named list, the fit's climate reference (fireSenseUtils::spreadClimateRef(); spreadLink = "climateOutside"), or NULL (the default link). Passed to .objfunSpreadFit() like covCentre.
integer; passed to Nreps, the replicates per fire.
numeric; upper limit on mean spread probability.
passed to .objfunSpreadFit().
character; objective function tests, e.g. "crps", "adTest".
character; the spread formula.
optional numeric vector, or list of them, to evaluate instead of random sets.
passed to .objfunSpreadFit().
integer or NULL; set.seed() value. NULL draws one at random.
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.
numeric; the "powerLaw" link's gamma (fireSenseUtils::powerLawLink()), used with
link = "powerLaw". Passed to .objfunSpreadFit().
numeric; the "powerLaw" link's shape, passed like powerLawGamma.
numeric; the lower asymptote of the "powerLawSmooth" and "richards" links and the
nu of "richards" (fireSenseUtils::powerLawSmoothLink(), richardsLink()), passed like powerLawGamma.
passed to .objfunSpreadFit(): spread every fire on all pixels of the tables.
NULL.