Learn R Programming

SimNPH (version 0.5.7)

analyse_modelstly_weighted: Create Analyse function for the modestly weighted logrank test

Description

Create Analyse function for the modestly weighted logrank test

Usage

analyse_modelstly_weighted(t_star)

Value

an analyse function that can be used in runSimulation

Arguments

t_star

parameter t* of the modestly weighted logrank test

Examples

Run this code
condition <- merge(
   assumptions_delayed_effect(),
   design_fixed_followup(),
   by=NULL
 ) |>
 head(1)
dat <- generate_delayed_effect(condition)
analyse_modelstly_weighted(20)(condition, dat)

Run the code above in your browser using DataLab