checkArgs {RVS}R Documentation

check arguments provided to RVsharing for validty

Description

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

Usage

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


[Package RVS version 1.15.0 Index]