Learn R Programming

simDNAmixtures (version 1.0.1)

sample_log_normal_stutter_variance: Sample log normal stutter variance parameters according to priors

Description

Sample log normal stutter variance parameters according to priors

Usage

sample_log_normal_stutter_variance(log_normal_stutter_variability)

Value

Named numeric with stutter variance parameter for all stutter types. Names are k2 concatenated with the name of the stuter type. See example.

Arguments

log_normal_stutter_variability

List of variability parameters. See gf for an example.

Examples

Run this code
 data(gf)
 log_normal_stutter_variability <- gf$log_normal_settings$stutter_variability
 k2 <- sample_log_normal_stutter_variance(log_normal_stutter_variability)

Run the code above in your browser using DataLab