expected_events_single_arm: Expected number of events

Description Usage Arguments Value

Description

expected_events_single_arm returns the expected number of events at a given data-cut-off time.

Usage

1
2
expected_events_single_arm(dco = 28, recruitment, model, mu = 0,
  dropouts = FALSE, total_only = TRUE)

Arguments

dco

Time of data cut-off.

recruitment

List of recruitment information. Containing

  1. Sample size, n

  2. Recruitment period, r_period

  3. Recruitment parameter for power model, k

model

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

mu

The dropout rate. Assumed independent to event hazard.

dropouts

Is dropout the event of interest? Default is FALSE.

total_only

By default, the function returns only the expected number of events. To see more detailed output set total_only = FALSE.

Value

The expected number of events at dco.


dominicmagirr/expectedevents documentation built on May 7, 2019, 4:39 p.m.