param.sel: Selection parameters generator

View source: R/simer.Parameter.r

param.selR Documentation

Selection parameters generator

Description

Generate parameters for selection.

Usage

param.sel(SP = NULL, ...)

Arguments

SP

a list of all simulation parameters.

...

one or more parameter(s) for selection.

Details

Build date: Apr 6, 2022 Last update: Jul 4, 2022

Value

the function returns a list containing

$sel$pop.sel

the selected males and females.

$sel$ps

if ps <= 1, fraction selected in selection of males and females; if ps > 1, ps is number of selected males and females.

$sel$decr

whether the sort order is decreasing.

$sel$sel.crit

the selection criteria, it can be "TBV", "TGV", and "pheno".

$sel$sel.single

the single-trait selection method, it can be "ind", "fam", "infam", and "comb".

$sel$sel.multi

the multiple-trait selection method, it can be "index", "indcul", and "tmd".

$sel$index.wt

the weight of each trait for multiple-trait selection.

$sel$index.tdm

the index of tandem selection for multiple-trait selection.

$sel$goal.perc

the percentage of goal more than the mean of scores of individuals.

$sel$pass.perc

the percentage of expected excellent individuals.

Author(s)

Dong Yin

Examples

SP <- param.sel(sel.single = "ind")
str(SP)

simer documentation built on April 3, 2025, 9:24 p.m.