Once you have read in parameters from a control file, or set them yourself, there are still a few derived parameters that are needed. This function calculates them.

calcDerivedParms(bsp)

Arguments

bsp

A list. bsp is short for breeding sheme parameters.

Value

A list bsp that extends the input with a few derived parameters

Details

This function is only called internally by other functions used to specify the pipeline

Should have default if not specified DONE stageToGenotype=stageNames[1] DONE useOptContrib=FALSE, DONE nCandOptCont=nEntries[1], targetEffPopSize=nParents DONE nChks=0, entryToChkRatio=0 DONE phenoF1toStage1=FALSE, errVarPreStage1=genoVar*20 DONE quickHaplo=FALSE DONE useCurrentPhenoTrain=FALSE DONE nCyclesToKeepRecords=max(nStages+1, 5) DONE nCyclesToRun=nCyclesToKeepRecords+1 DONE selCritPipeAdv=selCritPopImprov=selCritIID