find_familyInfo: Obtains info about a given family (mother x father) and adds...

Description Usage

View source: R/script - family tools.R

Description

Works on a dataframe of individuals (rows) including two columns ID_ma and ID_pa, which are the ID's of that individual's parents. For each individual, looks up another dataset of family info to attach family info to that individual (based on ID of its mother and father df_families structure: must include columns ID_ma and ID_pa for each row (family).

Usage

1
find_familyInfo(df, df_families, columns)

Eiriksen/fishytools documentation built on April 4, 2020, 5:08 a.m.