Learn R Programming

EstHer (version 1.0)

estim_herit: Estimation of heritability in linear mixed models.

Description

The function computes heritability when the random effects follow either a Gaussian distribution or a mixture of a Dirac and a Gaussian distribution.

Usage

estim_herit(Y, Z)

Arguments

Y
vector of observations of size n
Z
matrix with n rows and N columns

Value

heritability
Heritability

References

The method is developped in the paper "Heritability estimation in high dimensional linear mixed models" (A.Bonnet,vE.Gassiat, C.Levy-Leduc,2014)