oc_sel: Recommends contributions for achieving the target group...

Description Usage Arguments Value

Description

Carries out the standard optimum contribution algorithm, including constraints on totals contributions of males and females, and non-negative contributions. The approximate solution is obtained by the algorithm of Meuwissen. It prints out the recommendations after scaling the contributions to give the required total offspring. The function checks whether the number of parents to be considered exceeds the population, whether there are both males and female parents available, and whether the group coancestry is achievable. If these checks fail, error messages are printed.

Usage

1
oc_sel(ddf, tp, tc, gcoa)

Arguments

ddf

The data frame of 9 columns holding the population data.

tp

The number of parents to be considered for contributions, assumed to be the most recent.

tc

The number of offspring to be created.

gcoa

The target group coancestry, which needs to be supplied by the user.

Value

A logical indicating the success of the algorithm or otherwise.


jwoollia/DenHaag documentation built on May 20, 2019, 6:27 a.m.