qmatL: Matrix *Q* for large pedigrees

View source: R/qmatL.R

qmatLR Documentation

Matrix Q for large pedigrees

Description

Creates the genetic group contribution matrix for large pedigrees.

Usage

qmatL(ped2)

Arguments

ped2

: The output data.frame from gghead (for more details: ?gghead)

Value

Q matrix

Examples

ped = data.frame(ID=c(3,4,6,5), SIRE=c(1,3,4,1), DAM=c(2,2,5,2))
ped2 = gghead(ped)
qmatL(ped2)


ggroups documentation built on March 28, 2022, 1:06 a.m.