boot_haz_np: Non-parametric hazard bootstrap 'boot_haz_np' computes...

View source: R/survival_functions.R

boot_haz_npR Documentation

Non-parametric hazard bootstrap boot_haz_np computes non-parametric bootstrap hazards from time-to-event data.

Description

Non-parametric hazard bootstrap boot_haz_np computes non-parametric bootstrap hazards from time-to-event data.

Usage

boot_haz_np(surv_data, time, status, Rx, B)

Arguments

surv_data

survival (time-to-event) data.

time

name of time variable in survival data (character variable).

status

name of status variable survival data (character variable).

Rx

treatment arm.

B

number of bootstrap samples.

Value

list of objects (time points, hazard, hazard CI, bootstrapped time points).


DARTH-git/darthtools documentation built on April 3, 2025, 2:12 p.m.