exponential
R/exponential.R
mean.exponential.Rd
Method to obtain the mean of an exponential object.
# S3 method for class 'exponential' mean(x, ...)
The exponential object to obtain the mean of
Additional arguments (not used)
The mean of the exponential distribution (1 / rate).
1 / rate
x <- exponential(rate = 0.5) mean(x) #> [1] 2