.ppcens {primarycensored} | R Documentation |
Define a fitdistrplus compatible wrapper around pprimarycensored
Description
Define a fitdistrplus compatible wrapper around pprimarycensored
Usage
.ppcens(
q,
pdist,
pwindow,
D,
dprimary,
dprimary_args,
pdist_name,
dprimary_name,
...
)
Arguments
q |
Vector of quantiles |
pdist |
Distribution function (CDF) |
pwindow |
Primary event window |
D |
Maximum delay (truncation point). If finite, the distribution is truncated at D. If set to Inf, no truncation is applied. Defaults to Inf. |
dprimary |
Function to generate the probability density function
(PDF) of primary event times. This function should take a value |
dprimary_args |
List of additional arguments to be passed to
dprimary. For example, when using |
pdist_name |
A string specifying the name of the delay distribution
function. If NULL, the function name is extracted using
|
dprimary_name |
A string specifying the name of the primary event
distribution function. If NULL, the function name is extracted using
|
... |
Additional arguments to be passed to pdist |