Learn R Programming

forensim (version 2.0)

N2error: 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

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.

Examples

Run this code
#Example based on 15 markers of Tu data
library(forensim)
data(Tu)
N2error(Tu)

Run the code above in your browser using DataLab