powered by
Density, distribution function, quantile function and random generation for point distribution.
dpoint(x, location, log = FALSE)rpoint(n, location)ppoint(q, location, lower.tail = TRUE, log.p = FALSE)qpoint(p, location, lower.tail = TRUE, log.p = FALSE)
rpoint(n, location)
ppoint(q, location, lower.tail = TRUE, log.p = FALSE)
qpoint(p, location, lower.tail = TRUE, log.p = FALSE)
dpoint gives the density, ppoint gives the distribution function, qpoint gives the quantile function, and rpoint generates random deviates.
dpoint
ppoint
qpoint
rpoint
vector or matrix of quantiles.
vector of locations.
logical; if TRUE, probabilities p are given as log(p).
TRUE
p
log(p)
number of observations.
logical; if TRUE (default), probabilities are \(P[X \le x]\), otherwise, \(P[X \ge x]\).
vector of probabilities.
# draw samples from a point distribution rpoint(10, location = 1)
Run the code above in your browser using DataLab