select: Select individuals

Description Usage Arguments Value See Also

View source: R/select.R

Description

Select individuals

Usage

1
2
select(sEnv = NULL, nSelect = 40, popID = NULL, random = F,
  type = "Mass")

Arguments

sEnv

the environment that BSL functions operate in. If NULL, the default simEnv is attempted

nSelect

the number of selected individuals (default: 40)

popID

population ID to be selected (default: When random=T, the last population. When random=F, it is the last evaluated population)

random

assuming random selection or selection according to estimated value (T: random selection, F: selection for high value)

type

"WithinFamily" or "Mass" (default: Mass). If Mass, all individuals are ranked against each other and the highest nSelect are taken. If WithinFamily, individuals are ranked within paternal half-sib (if population was randomly mated) or full-sib (if population from selfFertilize or doubledHaploid) families. If random=T, then mass or within-family selection is random. NOTE: breeding scheme budget may not be correct for within-family selection because then nSelect is per-family but the number of families varies across simulations.

Value

modifies the list sims in environment sEnv by selecting individuals of the specified popID with the default selection criterion and giving those individuals a new popID

See Also

defineSpecies for an example


BreedingSchemeLanguage documentation built on May 2, 2019, 10:17 a.m.