expected_dco_two_arm: Expected time of dco

View source: R/expected_events.R

expected_dco_two_armR Documentation

Expected time of dco

Description

expected_dco_two_arm returns the expected calendar time of data-cut-off for a given number of events.

Usage

expected_dco_two_arm(total_events, recruitment, model)

Arguments

{total_events}

Number of events.

{recruitment}

List of recruitment information. Containing

  1. Sample size on control, n_0

  2. Sample size on experimental, n_1

  3. Recruitment period, r_period

  4. Recruitment parameter for power model, k

{model}

The piecewise hazard model. A list containing the change_points and lambdas.

Value

The expected calendar time of reaching total_events.


dominicmagirr/gsdelayed documentation built on May 15, 2024, 8:24 a.m.