inbreed: Inbreeding coefficients

View source: R/inbreed.R

inbreedR Documentation

Inbreeding coefficients

Description

Calculates inbreeding coefficients for all animals in the pedigree.

Usage

inbreed(ped)

Arguments

ped

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

Value

Vector of inbreeding coefficients

Examples

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


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