pLap: Laplace Cumulative Distribution Function

Description Usage Arguments Value Examples

View source: R/utilities-noise-generation.R

Description

Determines the probability a draw from a LaPlace distribution is less than or equal to the specified value.

Usage

1
pLap(x, mu = 0, b = 1)

Arguments

x

Numeric, the value(s) at which the user wants to know the CDF height.

mu

Numeric, the center of the LaPlace distribution, defaults to 0.

b

Numeric, the spread of the LaPlace distribution, defaults to 1.

Value

Probability the LaPlace draw is less than or equal to x.

Examples

1
2
x <- 0
pLap(x)

privacytoolsproject/PSI-Library documentation built on Feb. 17, 2020, 2:03 p.m.