iidPhenoEval: iidPhenoEval function

Description Usage Arguments Details Value Examples

View source: R/AnalysisFunctions.R

Description

function to take a data.frame coming from framePhenoRec and analyze it with individuals as a random effect with an IID covariance matrix

Usage

1
iidPhenoEval(phenoDF)

Arguments

phenoDF

A data.frame of phenotypic observations. See framePhenoRec for details.

Details

Given all the phenotypic records calculate the best prediction of the genotypic value for each individual using all its records

Value

Named real vector of the BLUPs of all individuals in phenoDF (names are the individual ids), with appropriate weights by error variance of the observation

Examples

1
2
phenoDF <- framePhenoRec(records, bsp)
iidBLUPs <- iidPhenoEval(phenoDF)

jeanlucj/AlfSimHlpR documentation built on Nov. 7, 2021, 5:10 p.m.