Calculates exact error for maximum allele count for two markers

Description

The maximum allele count principle leads to wrong conclusion for two contributors if only a maximum of one or two alleles is seen. This probability of error is calculated.

Usage

1
N2error(dat)

Arguments

dat

a data frame, first column gives the alleles size, remaining columns give their frequencies

Value

The probability of error is returned.

Author(s)

Thore Egeland Thore.Egeland@medisin.uio.no

Examples

1
2
3
4
#Example based on 15 markers of Tu data
library(forensim)
data(Tu)
N2error(Tu)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.