Learn R Programming

selection.index (version 1.2.1)

rcomb.indices: Remove trait or trait combination from possible trait combinations of possible Trait combinations

Description

Remove trait or trait combination from possible trait combinations of possible Trait combinations

Usage

rcomb.indices(ncomb, i, pmat, gmat, wmat, wcol = 1, GAY)

Value

Data frame of possible selection indices with per cent relative efficiency and ranking

Arguments

ncomb

Number of character combination

i

remove trait or trait combination

pmat

Phenotypic Variance Covariance Matrix

gmat

Genotypic Variance Covariance Matrix

wmat

Weight Matrix

wcol

Respective weight column number of Weight Matrix

GAY

Genetic Advance/Genetic Gain of base selection index

Examples

Run this code
gmat<- gen.varcov(seldata[,3:9], seldata[,2], seldata[,1])
pmat<- phen.varcov(seldata[,3:9], seldata[,2], seldata[,1])
rcomb.indices(ncomb = 2, i = 1, pmat = pmat, gmat = gmat, wmat = weight[,2:3], wcol = 1)

Run the code above in your browser using DataLab