Learn R Programming

RepeatABEL (version 1.1)

constructV: Constructs the (co)variance matrix for y

Description

Constructs the (co)variance matrix for y.

Usage

constructV(Z, RandC, ratio)

Arguments

Z
The incidence matrix for the random effects column binded with the Cholesky of the GRM
RandC
The number of columns in the two matrices combined in Z.
ratio
The ratios between random effect variances and the residual variance.