blup: Best Linear Unbiased Prediction

View source: R/estVC.R

blupR Documentation

Best Linear Unbiased Prediction

Description

Estimate the best linear unbiased prediction (BLUP) for various effects in the model.

Usage

blup(object)

Arguments

object

An object from estVC or aicVC.

Value

fixed

BLUP for fixed effects.

R, etc.

BLUP for random effects.

See Also

estVC and aicVC.

Examples

data(miscEx)

## Not run: 
# only consider additive genetic variance component
pheno<- pdatF8[!is.na(pdatF8$bwt) & !is.na(pdatF8$sex),]
ii<- match(rownames(pheno), rownames(gmF8$AA))
v<- list(A=gmF8$AA[ii,ii],D=gmF8$DD[ii,ii])
vc<- estVC(y=pheno$bwt, x=pheno$sex, v=v)
b<- blup(vc)

## End(Not run)

QTLRel documentation built on Aug. 9, 2023, 1:07 a.m.

Related to blup in QTLRel...