rexp {math} R Documentation

The Exponential Distribution

Description


Density, distribution function, quantile function and random generation for the exponential
distribution with rate rate (i.e., mean 1/rate).

Usage

rexp(n,
    rate = 1);

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required. [as integer]

rate

vector of rates. [as double]

Details

Authors

SMRUCC genomics Institute

Value

this function returns data object of type double.

clr value class

Examples


[Package math version 2.33.856.6961 Index]