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

Description Usage Arguments Value Author(s) Examples

View source: R/N2error.R

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)


forensim documentation built on May 21, 2017, 3:39 a.m.
Search within the forensim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.