get_kinset: A snapshot of an individual's kinship structure at a fixed...

Description Usage Arguments Examples

Description

This function returns a dataframe containing pedigree members of individual 'x' being alive at date 'evdat'.

Usage

1
get_kinset(x, evdat, ped, df_ind, df_fam, evmat, map_dist)

Arguments

x

ID of individual for which a pedigree should be composed.

evdat

A specific date in the format “Year-month-day”

ped

Pedigree of 'x'

df_ind

Dataframe for individuals

df_fam

Dataframe for unions

evmat

Event matrix

map_dist

A distance matrix

Examples

1
2
3
4
5
6
## Not run: 
attach(kh33::kh)
get_dist(40, grap_ped(40, df_ped), "1850-01-01", dist_mat = geo[["map_dist"]], evmat=evmat)
detach(kh33::kh)

## End(Not run)

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