Computes the primary event censored PMF for a pcens object as created
by new_pcens(). Secondary event windows and truncation are handled as in
dprimarycensored().
Arguments
- object
A
pcensobject as created bynew_pcens().- x
Vector of quantiles
- pwindow
Primary event window. Use
pwindow = 0for an exactly observed primary event, in which case the delay CDF is used directly.- swindow
Secondary event window (default: 1). Use
swindow = 0for an exactly observed secondary event, in which case a density is returned rather than a probability (see Details).- L
Minimum delay (lower truncation point). Defaults to
-Inf, meaning no left truncation. For any finite value of L the distribution is left-truncated at L.- D
Maximum delay (upper truncation point). If finite, the distribution is truncated at D. If set to Inf, no upper truncation is applied. Defaults to Inf.
- log
Logical; if TRUE, probabilities p are given as log(p)
- ...
Additional arguments passed to methods.
See also
Low level primary event censored distribution objects and methods
new_pcens(),
pcens_cdf(),
pcens_cdf.default(),
pcens_cdf.pcens_pdiscretehazard(),
pcens_cdf.pcens_pdiscretestep(),
pcens_cdf.pcens_pgamma_dunif(),
pcens_cdf.pcens_pgengamma.orig_dunif(),
pcens_cdf.pcens_pgengamma_dunif(),
pcens_cdf.pcens_plnorm_dunif(),
pcens_cdf.pcens_pweibull_dunif(),
pcens_pmf.default(),
pcens_quantile(),
pcens_quantile.default(),
update.pcens()
