productPipelinePostBurnIn: productPipeline function for when a new bsp object has been...

Description Usage Arguments Details Value Examples

View source: R/newProductPipeline.R

Description

Example: post burn-in

Usage

1
productPipelinePostBurnIn(records, bsp, SP)

Arguments

records

The breeding program records object. See fillPipeline for details

bsp

the original parameter set used

SP

the AlphaSimR SimParam object

newbsp

the new list of breeding scheme parameters

Details

function to advance a simulated breeding product pipeline forward by one generation. See Gaynor et al. 2017 for the general idea.

The breeding program product pipeline will have been set by initializeFunc. This function moves the breeding program along by one generation and saves all the resulting phenotypes to the records object.

Value

A records object that has new records created by advancing by a generation

Examples

1
2
3
4
5
6
7
8
bsp <- specifyPipeline()
bsp <- specifyPopulation(bsp)
initList <- initializeFunc(bsp)
SP <- initList$SP
bsp <- initList$bsp
records <- initList$records
records <- productPipeline(records, bsp, SP)
records <- popImprov1(records, bsp, SP)

wolfemd/alphaSimHlpR documentation built on Sept. 19, 2021, 6:25 p.m.