N_rhogamma: Weighted event count for Cox model

View source: R/weightedCox.R

N_rhogammaR Documentation

Weighted event count for Cox model

Description

Calculates the weighted event count for the Cox model with rho-gamma weights.

Usage

N_rhogamma(x, error, delta, weight = 1)

Arguments

x

Numeric vector of time points.

error

Numeric vector of error terms.

delta

Numeric vector of event indicators.

weight

Numeric vector of weights (default: 1).

Value

Numeric value of weighted event count.


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