A fit with an intercept centres its covariates and stores the centres in the ledger row (fireSenseUtils::spreadFitCovCentreTxt). Prediction subtracts the same values.

ledgerCovCentre(sa, i)

Arguments

sa

sim$studyAreaWithSpreadParams, one row per ELF.

i

integer; the row.

Value

A named list, or NULL for a row without centres: a fit without an intercept, or a row written before they were stored. Such a row predicts exactly as it always did.