Description Usage Arguments Examples
This function returns a list containing three data.frames:
Imported 'Individus' SPSS file as read from source.
Dataframe holding individual IDs and those of the parents.
Matrix describing event data in the form date, id, location, special, status. Here, gemini births count as one single event (see get_evmat_twins() for including the birth of twins as multiple events).
Matrix describing event data in the form date, id, location, special, status. Here, gemini births count as one single event (see get_evmat_twins() for including the birth of twins as multiple events).
Matrix describing twin relations in the form 'id1-id2-code', where code stands for 1=monozygotous, 2=dizygotous, 3=unknown. Here, zygosity is soley based on sex and therefore only twins of different sex are given code=2 (i.e. dizygotous), while same-sex twins are classified as unknown (code=3). In the case of triplets (and twins of higher order), each individual will have relations to each of his co-twins.
1 | get_qb(Individus = "/home/johow/Dropbox/qb/RPQA.MarcKlemp.individus.2012-01-27.sav")
|
Individus |
File path to the 'Individus.sav' SPSS file. |
1 2 3 4 | notrun{
twinmat <- get_twinmat()
# str(twinmat)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.