The row of the parameter sets a replicate uses

paramSetIndex(nSets, rep)

Arguments

nSets

integer; the number of fitted parameter sets of an ELF.

rep

integer; the replicate.

Value

integer, ((rep - 1) %% nSets) + 1.