oldArgs: check for arguments in v1.7 format

Description Usage Arguments Value

View source: R/RVsharing.R

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

1
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


RVS documentation built on Nov. 8, 2020, 6:57 p.m.