rexp0,numeric,dual-method {ADtools}R Documentation

Simulate exponential random variates

Description

Simulate exponential random variates

Usage

## S4 method for signature 'numeric,dual'
rexp0(n, rate = 1)

Arguments

n

Positive integer; the number of samples.

rate

A dual number; the rate of the exponential distribution.


[Package ADtools version 0.5.5 Index]