daccr: Accrual

View source: R/dist_accr.R

daccrR Documentation

Accrual

Description

Density, distribution function, quantile function, and random generation for the accrual distribution.

Usage

daccr(x, arm)

paccr(q, arm, lower.tail = T)

qaccr(p, arm)

raccr(n = 1, arm)

Arguments

x, q

vector of quantiles.

arm

object of class 'arm'.

lower.tail

logical; if TRUE, probabilities are P(X \le x); otherwise, P(X > x).

p

vector of probabilities.

n

number of observations.

Value

daccr gives the density, paccr gives the distribution function, qaccr gives the quantile function, and raccr generates random deviates.

See Also

create_arm and create_arm_lachin for creating an object of class 'arm'.


npsurvSS documentation built on May 29, 2024, 11:23 a.m.