Learn R Programming

ssdtools (version 0.1.0)

dllog: Log-Logistic Distribution

Description

Density, distribution function, quantile function, random generation and starting values for the log-logistic distribution with shape and scale parameters.

Usage

dllog(x, lshape = 0, lscale = 1, log = FALSE)

qllog(p, lshape = 0, lscale = 1, lower.tail = TRUE, log.p = FALSE)

pllog(q, lshape = 0, lscale = 1, lower.tail = TRUE, log.p = FALSE)

rllog(n, lshape = 0, lscale = 1)

sllog(x)

dllogis(x, lshape = 0, lscale = 0, log = FALSE)

qllogis(p, lshape = 0, lscale = 0, lower.tail = TRUE, log.p = FALSE)

pllogis(q, lshape = 0, lscale = 0, lower.tail = TRUE, log.p = FALSE)

rllogis(n, lshape = 0, lscale = 0)

sllogis(x)

Arguments

x

A numeric vector of values.

lshape

shape parameter on the log scale.

lscale

scale parameter on the log scale.

log

logical; if TRUE, probabilities p are given as log(p).

p

vector of probabilities.

lower.tail

logical; if TRUE (default), probabilities are P[X <= x],otherwise, P[X > x].

log.p

logical; if TRUE, probabilities p are given as log(p).

q

vector of quantiles.

n

number of observations.

Value

A numeric vector.

Details

The functions are wrappers to export the identical functions from the FAdist package.

See Also

dlogis

Examples

Run this code
# NOT RUN {
x <- seq(0.01, 5, by = 0.01)
plot(x, dllogis(x), type = "l")
# }

Run the code above in your browser using DataLab