Learn R Programming

simer (version 1.0.0)

param.sel: Selection parameters generator

Description

Generate parameters for selection.

Usage

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

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.

Arguments

SP

a list of all simulation parameters.

...

one or more parameter(s) for selection.

Author

Dong Yin

Details

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

Examples

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

Run the code above in your browser using DataLab