.dpcens | R Documentation |
Define a fitdistrplus compatible wrapper around dprimarycensored
.dpcens(x, params, pdist, dprimary, dprimary_args, ...)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.