Description Usage Arguments Examples
This function returns a vector of family members IDs for a given individual by iteratively adding IDs of offspring and parents and vice versa for a given times.
1 | grap_kin(x, df_ind, max_size, max_cycles = 8)
|
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' |
max_size |
Maximum size of pedigree of interest (Default is 300). |
max_cycles |
Maximum number of iterations (adding further relatives). |
1 2 3 4 | ## Not run:
grap_kin(1067, df_ped)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.