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)
dmaxU
gives the density, pmaxU
gives the distribution
function, and emaxU
gives the expected value.
vector of quantiles.
object of class 'arm'.
logical; if TRUE, include time-to-censoring as potential observed time; otherwise, observed time equals time-to-event.
logical; if TRUE, probabilities are \(P(X \le x)\); otherwise, \(P(X > x)\).
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\).
create_arm
and create_arm_lachin
for creating an object of class 'arm'.