generateSpouseList {ggpedigree} | R Documentation |
Generate a spouselist matrix
Description
Generate a spouselist matrix
Usage
generateSpouseList(
ped,
personID = "personID",
momID = "momID",
dadID = "dadID",
spouseID = "spouseID"
)
Arguments
ped |
A data frame containing the pedigree information |
personID |
Character. Name of the column in ped for the person ID variable |
momID |
Character. Name of the column in ped for the mother ID variable |
dadID |
Character. Name of the column in ped for the father ID variable |
spouseID |
Character. Name of the column in ped for the spouse ID variable |
Value
A spouselist matrix
Examples
library(BGmisc)
data("potter")
generateSpouseList(potter,
personID = "personID",
momID = "momID", dadID = "dadID", spouseID = "spouseID"
)
[Package ggpedigree version 0.8.0 Index]