rlaplace: Function to generate random values from the Laplace...

View source: R/laplace_functions.R

rlaplaceR Documentation

Function to generate random values from the Laplace distribution

Description

Function to generate random values from the Laplace distribution

Usage

rlaplace(n, location = 0, scale = 1)

Arguments

n

Number of values to generate.

location

Location parameter of the Laplace distribution (default = 0).

scale

Scale parameter of the Laplace distribution (default = 1).

Value

Vector of generated random values.

Examples

rlaplace(10, 0, 1)

diagL1 documentation built on May 29, 2024, 10:56 a.m.

Related to rlaplace in diagL1...