checkArgs: check arguments provided to RVsharing for validty

Description Usage Arguments Value

View source: R/RVsharing.R

Description

verifies that arguments are valid, throws an error if they are not

Usage

1
checkArgs(alleleFreq, kinshipCoeff, nSim, founderDist)

Arguments

alleleFreq

allele frequency among the founders

kinshipCoeff

mean kinship coefficient among the founders

nSim

number of simulations used in monte carlo calculation

founderDist

custom distribution among founders. Only used when simulating probability with nSim

Value

throws error if arguments invalid


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