Learn R Programming

forensIT (version 1.1.1)

plotKL: Plot KL distances.

Description

Plot KL distances.

Usage

plotKL(res)

Value

A scatterplot.

Arguments

res

output from distKL function.

Examples

Run this code
library(forrel)
x = linearPed(2)
plot(x)
x = setMarkers(x, locusAttributes = NorwegianFrequencies[1:5])
x = profileSim(x, N = 1, ids = 2)
res <- distKL(ped = x, missing = 5, relative = 1,
cores = 1, frequency = NorwegianFrequencies[1:5], numsims = 5)
plotKL(res)

Run the code above in your browser using DataLab