checkArgs {RVS} | R Documentation |
verifies that arguments are valid, throws an error if they are not
checkArgs(alleleFreq, kinshipCoeff, nSim, founderDist)
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 |
throws error if arguments invalid