Fits fold k's complement and scores fold k's held-out years only – the other fold is never run. Used by the heldOutFold parameter so the two folds can be separate jobs.

crossValidateSpreadOneFold(sim, covs, thresh, k)

Arguments

sim

a simList.

covs

mod$covsX1000.

thresh

mod$thresh.

k

integer; the fold (1 or 2) to hold out.

Value

list: sims (this fold only) and score (from fireSenseUtils::scoreFireSizes()).