initializeScheme: initializeScheme function

Description Usage Arguments Details Value Examples

View source: R/InitializationFunctions.R

Description

function to initialize simulation of a breeding program. A single additive-dominance trait is simulated. Check are used in this scheme

Usage

1

Arguments

bsp

A list of breeding scheme parameters. See specifyPipeline and specifyPopulation

Details

Creates the founders and the initial records at the beginning of the simulation of a breeding program.

Value

A list containing: 1. The simulation parameters in SP; 2. The initial records of the breeding program in records. See fillPipeline for details; 3. A completed bsp object

Examples

1
2
3
4
5
6
bsp <- specifyPopulation(bsp)
bsp <- specifyPipeline()
initList <- initializeScheme(bsp)
SP <- initList$SP
bsp <- initList$bsp
records <- initList$records

jeanlucj/AlfSimHlpR documentation built on Nov. 7, 2021, 5:10 p.m.