oldArgs {RVS}R Documentation

check for arguments in v1.7 format

Description

check arguments provided in ... to see if the user called RVsharing using a function signature from v1.7, this will convert the arguments into a pedigree suitable for the signature in version > 2.0

Usage

oldArgs(ped, data, dad.id, mom.id)

Arguments

ped

a pedigree object

data

numeric/character vector of subject ids

dad.id

numeric/character vector of father ids, founders' parents should be NA or 0

mom.id

numeric/character vector of mother ids, founders' parents should be NA or 0

Value

if old arguments are provided, a pedigree object is returned, otherwise ped is returned


[Package RVS version 1.14.0 Index]