quniform: Uniform quantile function

Description Usage Arguments Value Note Author(s) References Examples

View source: R/richards.R

Description

Computes the quantile function of the uniform distribution

Usage

1
quniform(x, u = 0.5, a = 1, b = 2)

Arguments

x

scale or vector of values at which the integrated hazard rate function needs to be computed, values must be between a and b

u

scale or vector of positive values at which the integrated hazard rate function needs to be computed, must be of the same length as x

a

the value of a parameter, must be positive

b

the value of b parameter, must be greater than a

Value

An object of the same length as x, giving the hazard rate function values computed at x and u

Note

If incorrect values or inconsistent lengths are input for x, u or the model parameters then NaNs will be returned as the output.

Author(s)

Saralees Nadarajah

References

S. Nadarajah, S. A. A. Bakar, Tabulations of survival models for actuarial use, submitted

Examples

1
2
x=runif(10,min=0,max=1)
y=quniform(x)

ActuDistns documentation built on May 30, 2017, 1:28 a.m.