dunifed {unifed} | R Documentation |
The unifed distribution
Description
Density, distribution function, quantile function and random generation for the unifed distribution.
Usage
dunifed(x, theta)
unifed.lcdf(x, theta)
punifed(q, theta)
qunifed(p, theta)
runifed(n, theta)
Arguments
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 |
Value
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.
References
Quijano Xacur, O.A. The unifed distribution. J Stat Distrib App 6, 13 (2019). doi:10.1186/s40488-019-0102-6.
Examples
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)
[Package unifed version 1.1.6 Index]