get_kh: Wrapper function to import and format Krummhörn data for...

Description Usage Arguments Examples

Description

This function returns a list containing three data.frames:

  1. Imported 'kindermc.sav' SPSS file as read from source.

  2. Imported 'familienmc.sav' SPSS file as read from source.

  3. Dataframe holding individual IDs and those of the parents.

Usage

1
get_kh(kindermc = "", familienmc = "")

Arguments

kindermc

File path to the 'kindermc.sav' SPSS file.

familienmc

File path to the 'familienmc.sav' SPSS file

Examples

1
2
twinmat <- get_twinmat()
str(twinmat)

johow/kinlab documentation built on July 5, 2019, 4:23 p.m.