buildA: Relationship matrix *A*

View source: R/buildA.R

buildAR Documentation

Relationship matrix A

Description

Builds the pedigree-based additive genetic relationship matrix.

Usage

buildA(ped)

Arguments

ped

: data.frame with integer columns corresponding to ID, SIRE, DAM. Missing value is 0.

Value

Relationship matrix A

Examples

ped = data.frame(ID=1:6, SIRE=c(0,0,1,3,1,4), DAM=c(0,0,2,2,2,5))
buildA(ped)


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