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

iidPhenoEval(phenoDF)

Arguments

phenoDF

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

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

Details

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

Examples

phenoDF <- framePhenoRec(records, bsp)
#> Error in framePhenoRec(records, bsp): object 'bsp' not found
iidBLUPs <- iidPhenoEval(phenoDF)
#> Error in iidPhenoEval(phenoDF): object 'phenoDF' not found