add_moms: Add iteratively IDs of mothers

Description Usage Arguments Examples

Description

This function returns a vector of IDs for a given individual matrilineal ancestry.

Usage

1
add_moms(x, df_ind)

Arguments

x

ID of individual for which a pedigree should be composed.

df_ind

A dataframe for genealogical relations providing the variables 'id', 'momid' and 'dadid'

Examples

1
2
3
4
## Not run: 
grap_kin(1067, df_ped)

## End(Not run)

johow/kinlab documentation built on July 5, 2019, 4:23 p.m.