compute_tau_limit: Compute Tau Limit (t_max)
Description
Finds the latest time point \(t_{max}\) such that at least a certain proportion
of subjects remain at risk.
Usage
compute_tau_limit(times, threshold)
Value
The computed \(t_{max}\) value, or NA_real_ if no valid
times are provided.
Arguments
- times
Numeric vector of survival times.
- threshold
Minimum proportion of subjects that must remain at risk.