count_gen: Count generation numbers

Description Usage Arguments Examples

Description

This function wraps the _pedigree::countGen()_ function to calculate generation number of each ID.

Usage

1
count_gen(df_ind = NULL)

Arguments

df_ind

A dataframe with individual cases (id, dadid, momid).

Examples

1
2
df_ind <- get_exmpl_df()
count_gen(df_ind)

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