View source: R/calc_maxU_and_minimaxU.R
dmaxU | R Documentation |
Density, distribution function, and expected value for the maximum observed time in a single arm of patients.
dmaxU(x, arm, include_cens = T)
pmaxU(q, arm, include_cens = T, lower.tail = T)
emaxU(arm, include_cens = T)
x , q |
vector of quantiles. |
arm |
object of class 'arm'. |
include_cens |
logical; if TRUE, include time-to-censoring as potential observed time; otherwise, observed time equals time-to-event. |
lower.tail |
logical; if TRUE, probabilities are |
Given a patient's time-to-event T_i
and time-to-censoring
C_i
, U_i=\min(T_i, C_i)
defines the patient's observed time. The
maximum observed time over patients of a single arm is then \max_i U_i
.
dmaxU
gives the density, pmaxU
gives the distribution
function, and emaxU
gives the expected value.
create_arm
and create_arm_lachin
for creating an object of class 'arm'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.