R/km_wlr_calculations_helpers.R
risk_weighted.Rd
Computes the weighted number at risk at a specified time.
risk_weighted(x, y, w = rep(1, length(y)))
Time point.
Vector of event/censoring times.
Weights (default 1).
Weighted number at risk at time x.