Learn R Programming

SPIAssay (version 1.1.0)

getSPIALimits: Function getSPIALimits computes the limits for the SPIA test

Description

Function CgetSPIALimits computes the limits for the probabilist test associated with SPIA.

Usage

getSPIALimits(N,Pmm = 0.1, nsigma = 2, Pmm_nonM = 0.6, nsigma_nonM = 3, verbose = FALSE)

Arguments

N
number of valida calls
Pmm
probability of mismatch in a matching population (dafault 0.1)
nsigma
parameter that characterize the limit for mm (dafault 2)
Pmm_nonM
probability of mismach in a non matching population (dafault 0.6)
nsigma_nonM
parameter that characterize the limit for mm_nonM (dafault 3)
verbose
print verbose information on error

Value

A list with three elements: 1. inferior limit 2. superior limit 3. error signal