Create Analyse function for the modestly weighted logrank test
Source:R/analyse_modestly_weighted.R
analyse_modelstly_weighted.Rd
Create Analyse function for the modestly weighted logrank test
Examples
condition <- merge(
assumptions_delayed_effect(),
design_fixed_followup(),
by=NULL
) |>
head(1)
dat <- generate_delayed_effect(condition)
analyse_modelstly_weighted(20)(condition, dat)
#> $p
#> [1] 1.205258e-05
#>
#> $N_pat
#> [1] 300
#>
#> $N_evt
#> [1] 300
#>