N2error: Calculates exact error for maximum allele count for two...

View source: R/N2error.R

N2errorR Documentation

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.

Author(s)

Thore Egeland Thore.Egeland@medisin.uio.no

Examples

## Not run: 
#Example based on 15 markers of Tu data
library(forensim)
data(Tu)
N2error(Tu)

## End(Not run)

hindantation/forensim documentation built on Oct. 8, 2022, 4:42 a.m.