Learn R Programming

gestate (version 1.6.0)

Exponential: Exponential Curve constructor function

Description

This creates a Curve object for a Exponential distribution.
Curve objects contain all necessary information to describe a distribution, including functions and parameters describing it.
Parameterisation follows that used by pexp etc. Note that lambda = 1/alpha from the Weibull constructor. See Details for more information on parameterisation.

Usage

Exponential(lambda)

Arguments

lambda

Rate parameter for Exponential distribution.

Author

James Bell

Details

The exponential distribution has parameterisation:
f(x) = lambda e^(- lambda x)
F(x) = 1 - e^(- lambda x)

Examples

Run this code
Exponential(0.01)

Run the code above in your browser using DataLab