dunifed {unifed} | R Documentation |
Density, distribution function, quantile function and random generation for the unifed distribution.
dunifed(x, theta) unifed.lcdf(x, theta) punifed(q, theta) qunifed(p, theta) runifed(n, theta)
x |
A vector of quantiles. They must be numbers between 0 and 1. |
theta |
The value of the canonical parameter. It must be of length one. |
q |
A vector of quantiles. |
p |
A vector of probabilities. |
n |
number of observations |
dunifed
gives the density function.
unifed.lcdf
returns the log of the cumulative
distribution function of the unifed.
punifed
gives the distribution function.
qunifed
gives the quantile function.
runifed
generates random observations.
Quijano Xacur, Oscar Alberto (2018). The Unifed Distribution. ArXiv. http://arxiv.org/abs/1812.00251.
dunifed( c(0.1,0.3,0.7), 10) x <- c(0.3,0.6,0.9) unifed.lcdf(x,5) x <- c(0.1,0.4,0.7,1) punifed(x,-5) p <- 1:9/10 qunifed(p,5) runifed(20,-3.3)