get_kindata: A dataframe describing the kin network for a given ID at a...

Description Usage Arguments Examples

Description

This function returns a dataframe describing kin networks at specific dates documented for one or more given IDs

Usage

1
2
get_kindata(id, evdat, df_ped = kh[["df_ped"]],
  map_dist = kh[["geo"]][["map_dist"]], kin.only = TRUE)

Arguments

id

ID of individual for which specific kin network should be compiled

evdat

A specific date of interest

df_ped

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

map_dist

A distance matrix, which contains locations of individuals

kin.only

If FALSE, also kin being genetically unrelated both to the given ID and his or her spouse(s) will be included (Default is TRUE)

Examples

1
get_kindata(1067, "1801-01-01")

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