IDau {Families}R Documentation

IDs of aunts and uncles of ego

Description

Retrieves the IDs of ego's aunts and uncles by blood. Partners (in-laws) are not included. They are obtained using the IDPartner() function.

Usage

IDau(idego, d = NULL)

Arguments

idego

Identification number(s) of ego(s).

d

Name of database. If missing, dLH is used, if it exists in the global environment (i.e. R workspace). Otherwise the dataset dLH distributed with the Families package are used.

Value

IDs of aunts and uncles by blood (without their partner, i.e. in-laws).

Examples

# Load the data
data(dLH,package="Families")
set.seed <- 45
idego <- sample(dLH$ID[dLH$gen==3],1)
idau <- IDau (idego)

idego <- dLH$ID[dLH$gen==3]
idau <- IDau (idego,d=dLH)


[Package Families version 2.0.2 Index]