daccr: Accrual

Description Usage Arguments Value See Also

View source: R/dist_accr.R

Description

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

Usage

1
2
3
4
5
6
7
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 ≤ 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 Jan. 11, 2020, 9:18 a.m.