truncatedLaplace: Compute truncated Laplace distribution weights

View source: R/internal.r

truncatedLaplaceR Documentation

Compute truncated Laplace distribution weights

Description

Evaluates a Laplace distribution truncated to 95% of its area, with weights scaled to 10/19.

Usage

truncatedLaplace(x, laplaceScale)

Arguments

x

A vector of integers representing centered SNP positions.

laplaceScale

Scale parameter of the Laplace distribution.

Details

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

Value

A numeric vector of weights.


diemr documentation built on Dec. 11, 2025, 5:07 p.m.