get_weights: Get weights for a weighting scheme

View source: R/weighted_helpers.R

get_weightsR Documentation

Get weights for a weighting scheme

Description

Calculates weights for a specified scheme at given time points.

Usage

get_weights(scheme, scheme_params, S.pool, tpoints)

Arguments

scheme

Character string specifying the weighting scheme.

scheme_params

List of parameters for the scheme.

S.pool

Numeric vector of pooled survival probabilities.

tpoints

Numeric vector of time points.

Value

Numeric vector of weights.


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