ms_null: Null scenario

View source: R/ms_null.R

ms_nullR Documentation

Null scenario

Description

Replaces the model of the treatment group by the model of the control group, keeping the allocation and the accrual.

Usage

ms_null(scenario)

Arguments

scenario

An ms_scenario object.

Value

An ms_scenario object under the null hypothesis.

See Also

ms_scenario

Examples

ctl <- ms_model(death = log(2) / 12)
trt <- ms_model(death = 0.7 * log(2) / 12)
scn <- ms_scenario(ctl, trt, accrual = ms_accrual(rate = 20))
lr_moments(ms_null(scn), n = 400, calendar_time = 30)


DesignComplexSurvival documentation built on Nov. 23, 2026, 5:07 p.m.