| .normalise_cdf | R Documentation |
Internal function to normalise a primary event censored CDF when truncation is applied. The CDF is normalised using (F(q) - F(L)) / (F(D) - F(L)) and values outside [L, D] are clamped to 0 or 1.
.normalise_cdf(result, q, L, D, pcens_obj, pwindow)
result |
Numeric vector of CDF values to normalise. |
q |
Numeric vector of quantiles at which CDF was evaluated. |
L |
Numeric lower truncation point (may be negative or |
D |
Numeric upper 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.