.dpcens {primarycensored} | R Documentation |
Define a fitdistrplus compatible wrapper around dprimarycensored
Description
Define a fitdistrplus compatible wrapper around dprimarycensored
Usage
.dpcens(
x,
swindows,
pdist,
pwindow,
D,
dprimary,
dprimary_args,
pdist_name,
dprimary_name,
...
)
Arguments
x |
Vector of quantiles |
swindows |
A numeric vector of secondary window sizes corresponding to each element in x |
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 the distribution function |