spreadProbOneELF.RdSpread probability for the pixels of one ELF
spreadProbOneELF(
covs,
params,
covMinMax,
yr,
maxFireSpread,
lowerSpreadProb,
covCentre = NULL
)data.table of this ELF's pixels: pixelID and covariates (as fireSense_dataPrepPredict
makes them; fuel biomass logged). It can hold more than the fit used (every ELF's covariates, or a term the
spread formula has but the fit does not); only the covariates named in params are used.
one-row data.frame: the ELF's parameter set for this replicate (paramSetForRep()).
the ELF's covMinMax_spread (ledgerCovMinMax()): the ranges the fit rescaled its
covariates with. Every fitted covariate must be a column of it, or it is left unscaled.
as for fireSenseUtils::spreadProbFromIntegerCovs() and
fireSenseUtils::logisticAll().
the ELF's covCentre_spread (ledgerCovCentre()): the covariate means the fit subtracted
from the rescaled covariates; NULL (a fit without an intercept, or an older ledger row) centres nothing.
A parameter set with fireSenseUtils::spreadInterceptTxt has an intercept, added as a column of 1s after
the covariates are rescaled and centred, as in the fit.
data.table with pixelID and spreadProb, from the one parameter set in params.