sexp: The Exponential Distribution

Description Usage Arguments Value See Also Examples

View source: R/exp.R

Description

Descriptive statistics for the exponential distribution with rate rate (i.e., mean 1/rate).

Usage

1
2
sexp(rate = 1, statistic = c("all", "mean", "median", "sd", "var",
  "skew", "kurt"))

Arguments

rate

rate parameter

statistic

desired descriptive statistic

Value

named numeric vector

See Also

Exponential

https://en.wikipedia.org/wiki/Exponential_distribution

Examples

1
2
3
4
5
6
7
8
curve(dexp(x, 0.5), xlim = c(0, 5))
sexp(0.5)

curve(dexp(x, 1), xlim = c(0, 5))
sexp()

curve(dexp(x, 1.5), xlim = c(0, 5))
sexp(1.5)

schuelkem/sdist documentation built on Nov. 5, 2019, 8:45 a.m.