.normalise_cdf | R Documentation |
Internal function to normalise a primary event censored CDF when truncation is applied. The CDF is normalised by dividing by its value at the truncation point D and setting all values beyond D to 1.
.normalise_cdf(result, q, D, pcens_obj, pwindow)
result |
Numeric vector of CDF values to normalise. |
q |
Numeric vector of quantiles at which CDF was evaluated. |
D |
Numeric truncation point |
pcens_obj |
A primarycensored object as created by |
pwindow |
Secondary event window |
Normalised CDF values as a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.