Learn R Programming

PRNG (version 0.0.2.1.2)

prexp: Exponentail distribution

Description

This function generates random numbers from exponentail distribution

Usage

prexp(n, Time = TRUE)

Value

a vector of n numbers from exponential distribution

Arguments

n

how many numbers we need

Time

time dependent or not

Examples

Run this code
 prexp(10)
   prexp(10)
   prexp(10,FALSE)
   prexp(10,FALSE)

Run the code above in your browser using DataLab