get_brank: Individual birth rank

Description Usage Arguments Examples

Description

Returns an individuals birth rank (in case of twin births, it is not unique!).

Usage

1
2
get_brank(x = NULL, df_ind = kh.full::kh_ind[kh.full::kh_ind$momid > 0 &
  !is.na(kh.full::kh_ind$bdate), ])

Arguments

x

ID of interest

df_ind

The individual data frame

Examples

1
2
3
4
## Not run: 
get_brank(12)

## End(Not run)

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