rexgauss: Generate random deviate from ex-gaussian distribution

View source: R/rexgauss.R

rexgaussR Documentation

Generate random deviate from ex-gaussian distribution

Description

Generate random deviate from ex-gaussian distribution

Usage

rexgauss(n, mu = 0, sigma = 1, tau = 1, positive = TRUE)

Arguments

n

integer, number of deviates to generate

mu

integer, mean of normal

sigma

integer, sd of normal

tau

integer, tail parameter

positive

logical, force values to be positive

Details

This function was originally part of the retimes package, authored by Davide Massidda, which was removed from CRAN on 2021-01-27.

Value

a vector of random deviates from an ex-gaussian distribution

Examples

rexgauss(n=10,mu=0,sigma=1,tau=1)


CrumpLab/conflictPower documentation built on May 17, 2022, 5:48 a.m.