dlogis(x, location, scale=1) plogis(q, location, scale=1) qlogis(p, location, scale=1) rlogis(n, location, scale=1)
location
and scale
. dlogis
gives
the density, plogis
gives the distribution function
qlogis
gives the quantile function and rlogis
generates
random deviates.
The Logistic distribution with location
a and
scale
b has density
f(x) = 1/b exp((x-a)/b) (1 + exp((x-a)/b))^-2.
x <- 0:4 paste(dlogis(x, loc = 0)) == paste(exp(x) * (1 + exp(x))^-2)