View source: R/describeHelpers.R
generateSpouseList | R Documentation |
Generate a spouselist matrix
generateSpouseList(
ped,
personID = "personID",
momID = "momID",
dadID = "dadID",
spouseID = "spouseID"
)
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 |
A spouselist matrix
library(BGmisc)
data("potter")
generateSpouseList(potter,
personID = "personID",
momID = "momID", dadID = "dadID", spouseID = "spouseID"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.