multistageGain: multistageGain function

View source: R/VarietyDevPipe.R

multistageGainR Documentation

multistageGain function

Description

multistageGain function

Usage

multistageGain(corr, truncPts, Vg = 1)

Arguments

corr

matrix the correlation matrix from calcVDPcovMat

truncPts

vector the truncation points that came from multistageTruncPt

Vg

numeric the genotypic variance to provide a scale

Details

This function came essentially from the selectiongain package but then I simplified it very much by just using a current R package

Value

numeric the expected gain from selection

Examples

vdpCovMat <- multistageGain(corr, truncPts)


jeanlucj/BreedSimCost documentation built on July 21, 2023, 1:59 a.m.