multistageTruncPt: multistageTrucPt function

View source: R/VarietyDevPipe.R

multistageTruncPtR Documentation

multistageTrucPt function

Description

multistageTrucPt function

Usage

multistageTruncPt(alpha, corr = NA)

Arguments

alpha

vector the selected fractions from one VDP stage to the next

corr

matrix the correlation matrix from calcVDPcovMat

alg

function the truncation point calculation algorithm from package mvtnorm. Options are Miwa() and GenzBretz(). The latter is slower

Details

This function came essentially from the selectiongain package developed by Melchinger's group: Mi et al. 2014 Crop Science. Simplified just to the "LonginII" method.

Value

Covariance matrix of the true genotypic values of the variety candidates with the phenotypic means from the VDP stages

Examples

vdpCovMat <- calcVDPcovMat(bsd)


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