count_weighted: Weighted counting process

View source: R/km_wlr_calculations_helpers.R

count_weightedR Documentation

Weighted counting process

Description

Computes the weighted count of events up to a specified time.

Usage

count_weighted(x, y, w = rep(1, length(y)))

Arguments

x

Time point.

y

Vector of event/censoring times.

w

Weights (default 1).

Value

Weighted count of events up to time x.


weightedsurv documentation built on Dec. 23, 2025, 1:07 a.m.