A fit made with fireSense_spreadFit's spreadLink = "powerLaw" or "powerLawSmooth" stores its gamma in the ledger row (fireSenseUtils::spreadFitPowerLawGammaTxt), with the link in fireSenseUtils::spreadLinkTxt. Prediction applies the same link with the same gamma (fireSenseUtils::spreadProbFromCovs()).

ledgerPowerLawGamma(sa, i)

Arguments

sa

sim$studyAreaWithSpreadParams, one row per ELF.

i

integer; the row.

Value

gamma, or NULL for a row of any other link ("richards" has none), such as every row written before the link existed. Such a row predicts exactly as it always did. A "powerLaw" or "powerLawSmooth" row without a valid gamma stops.