.dpcens | R Documentation |
Define a fitdistrplus compatible wrapper around dprimarycensored
.dpcens(x, swindows, pdist, pwindow, D, dprimary, dprimary_args, ...)
x |
Vector of quantiles |
swindows |
A numeric vector of secondary window sizes corresponding to 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 |
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 |
... |
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.