qexp() Function

The qexp() function gives the possibility, we can use the qexp function to return the corresponding values of the quantile function.

Syntax:
qexp(x_qexp, rate)

R

# R program to illustrate
# exponential distribution
 
# Specify x-values
x_qexp <- seq(0, 1, by = 0.2)                    
  
# Apply qexp() function
y_qexp <- qexp(x_qexp, rate = 1)
  
# Plot values                  
plot(y_qexp)                                      

                    

Output:

Quantile Function of Exponential Distribution

Exponential Distribution in R Programming – dexp(), pexp(), qexp(), and rexp() Functions

The exponential distribution in R Language is the probability distribution of the time between events in a Poisson point process, i.e., a process in which events occur continuously and independently at a constant average rate. It is a particular case of the gamma distribution. In R Programming Language, there are 4 built-in functions to generate exponential distribution:

Function

Description

dexp

Probability Density Function

pexp

Cumulative Distribution Function

qexp

Quantile Function of Exponential Distribution

rexp

Generating random numbers which are Exponentially Distributed

Similar Reads

What is Exponential Distribution?

A random variable X is said to be exponentially distributed if it has a mean equal to 1 / λ and variance is equal to 1 / λ2 then that variable is known as Exponential Distribution....

dexp() Function

The dexp() function returns the corresponding values of the exponential density for an input vector of quantiles....

pexp() Function

...

qexp() Function

The pexp() function returns the corresponding values of the exponential cumulative distribution function for an input vector of quantiles....

rexp() Function

...