sim_t_uncensored: Simulate uncensored data

View source: R/helper_functions.R

sim_t_uncensoredR Documentation

Simulate uncensored data

Description

Simulate data as if there is no administrative censoring, i.e., all events observed.

Usage

sim_t_uncensored(model, recruitment)

Arguments

model

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

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

var_u_int

The observed variance of the weighted log-rank statistic at the interim.

Value

A data frame containing simulated data.


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