Learn R Programming

dvir (version 3.3.0)

getFamily: Get AM component of selected individuals

Description

Get AM component of selected individuals

Usage

getFamily(dvi, ids)

Value

A vector of the same length as ids, containing the family names (if dvi$am is named) or component indices (otherwise) of the ids

individuals.

Arguments

dvi

A dviData() object.

ids

A vector of ID labels of members of dvi$am.

Examples

Run this code
getFamily(example2, ids = example2$missing)

Run the code above in your browser using DataLab