djshape: J-shaped pdf

Description Usage Arguments Value Note Author(s) References Examples

View source: R/richards.R

Description

Computes the pdf of the J-shaped distribution

Usage

1
djshape(x, b = 1, nu = 1)

Arguments

x

scale or vector of values at which the pdf needs to be computed, values are positive and bounded below by b

b

the value of b parameter, must be positive

nu

the value of nu parameter, must be positive

Value

An object of the same length as x, giving the pdf values computed at x

Note

If incorrect values are input for x 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=djshape(x)

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