paramSets file that a replicate usesparamSetsForRep.RdReplicate rep uses set ceiling(rep / repsPerSet) (paramSetIndex() cycles through the sets), and is
replicate ((rep - 1) %% repsPerSet) + 1 within it. The set keeps the columns of the simulated ELF's ledger
row (sa$params), and the random-effect sds it has.
paramSetsForRep(sim, sa, rep)A simList; parameters paramSets, repsPerSet.
sim$studyAreaWithSpreadParams, one row per ELF.
integer; the replicate (.rep, or replicateOf()).
A list: own (the simulated ELF's row of sa), set (its index in the file), k (the replicate
within the set) and params (the one-row data.frame).