Learn R Programming

diemr (version 1.4.3)

truncatedLaplace: Truncated Laplace distribution to 95% of area under the curve, weights scaled to 10/19

Description

Truncated Laplace distribution to 95% of area under the curve, weights scaled to 10/19

Usage

truncatedLaplace(x, laplaceScale)

Arguments

x

A vector of integers, representing centered positions of SNPs

laplaceScale

A numeric giving scale of the Laplace distribution.

Details

x must be within +-laplaceScale * log(20)