.dpcens {primarycensored} | R Documentation |
Define a fitdistrplus compatible wrapper around dprimarycensored
Description
Define a fitdistrplus compatible wrapper around dprimarycensored
Usage
.dpcens(x, params, pdist, dprimary, dprimary_args, ...)
Arguments
x |
Vector of quantiles |
params |
A data frame with columns 'swindow', 'pwindow', and 'D' corresponding to the secondary window sizes, primary window sizes, and truncation times for each element in x. |
pdist |
Distribution function (CDF). The package can identify base R
distributions for potential analytical solutions. For non-base R functions,
users can apply |
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 |
... |
Additional arguments to be passed to the distribution function |