rlaplace0: Laplace distribution

Description Usage Arguments Value Author(s)

View source: R/lamp-laplace-distribution-method.R

Description

Implements some aspects of Laplace distribution (based on stats package) for stable random walk simulation.

Usage

1
2
3
rlaplace0(n, b = 1)

dlaplace0(x, b = 1)

Arguments

n

numeric, number of observations.

b

numeric, the scale parameter, where the variance is 2*b^2.

x

numeric, vector of responses.

Value

numeric, standard convention is followed: d* returns the density, p* returns the distribution function, q* returns the quantile function, and r* generates random deviates.

Author(s)

Stephen H-T. Lihn


ecd documentation built on Oct. 4, 2017, 1:04 a.m.