Learn R Programming

jointCompRisk (version 0.1.1)

do_weighted_cif_analysis: Run Weighted CIF Analysis

Description

Given the list from prep_data_weighted_cif, run Weighted RMLT1 (recovery/discharge) and Weighted RMLT2 (death) at a user-specified time horizon tau.

Usage

do_weighted_cif_analysis(prepped, tau)

Value

A list with formatted results for WRMLT1 and WRMLT2.

Arguments

prepped

A list returned by prep_data_weighted_cif().

tau

Numeric time horizon (e.g., 15 or 29).

Details

- Weighted RMLT1 uses eta=1 for recovery/discharge analysis. - Weighted RMLT2 uses eta=2 for death analysis.