tabA {ggroups}R Documentation

Relationship matrix A in a tabular format

Description

Creates the pedigree-based additive genetic relationship data.frame.

Usage

tabA(ped)

Arguments

ped

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

Value

Genetic relationship data.frame

Examples

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


[Package ggroups version 2.1.2 Index]