Learn R Programming

ADtools (version 0.5.4)

rexp0,numeric,dual-method: Simulate exponential random variates

Description

Simulate exponential random variates

Usage

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

Arguments

n

Positive integer; the number of samples.

rate

A dual number; the rate of the exponential distribution.