combLR | R Documentation |
Combine LRs: a function for combining LRs obtained from simulations.
combLR(LRdatasim1, LRdatasim2)
LRdatasim1 |
A data frame object with the results of simulations. Outputs from simLRgen or simLRprelim funcionts. |
LRdatasim2 |
A second data frame object with the results of simulations. Outputs from simLRgen or simLRprelim funcionts. |
An object of class data.frame combining the LRs obtained from simulations (the function multiplies the LRs).
library(mispitools)
library(forrel)
x = linearPed(2)
x = setMarkers(x, locusAttributes = NorwegianFrequencies[1:5])
x = profileSim(x, N = 1, ids = 2)
LRdatasim1 = simLRgen(x, missing = 5, 10, 123)
LRdatasim2 = simLRprelim("sex")
combLR(LRdatasim1,LRdatasim2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.