qlaplace: Returns quantile from Laplace Distribution

View source: R/RcppExports.R

qlaplaceR Documentation

Returns quantile from Laplace Distribution

Description

The qlaplace returns the density at point x for the Laplace distribution with parameters a and m.

Usage

qlaplace(x, m = 0, a = 1)

Arguments

x

(numeric) - value in the range (-\infty, \infty) to evaluate the density.

m

(numeric) - location parameter.

a

(numeric) - scale parameter. Must be in the range (0, \infty).

Details

The Laplace distribution is a distribution controlled by two parameters, with formula:

f(x;a,m) = \frac{1}{2a} e^{- \left| \frac{x-m}{a} \right| }

where a is a scale parameter, and m is a location parameter.

Value

a vector containing the values for the densities.


Rsubbotools documentation built on April 16, 2025, 5:10 p.m.