Learn R Programming

mispitools (version 1.2.0)

deplot: Decision making plot: a function for plotting false positive and false negative rates for each LR threshold.

Description

Decision making plot: a function for plotting false positive and false negative rates for each LR threshold.

Usage

deplot(datasim, LRmax = 1000)

Value

A plot showing false positive and false negative rates for each likelihood ratio threshold.

Arguments

datasim

Input dataframe containing expected LRs for related and unrelated POIs. It should be the output from makeLRsims function.

LRmax

Maximum LR value used as a threshold. 1000 setted by default.

Examples

Run this code
library(forrel)
x = linearPed(2)
x = setMarkers(x, locusAttributes = NorwegianFrequencies[1:5])
x = profileSim(x, N = 1, ids = 2)
datasim = simLRgen(x, missing = 5, 10, 123)
deplot(datasim)

Run the code above in your browser using DataLab