apply_dco: Apply data cut-off

View source: R/helper_functions.R

apply_dcoR Documentation

Apply data cut-off

Description

Apply a data cut-off to an uncensored data set.

Usage

apply_dco(df, dco = NULL, events = NULL)

Arguments

df

Data frame with uncensored data. Generated from sim_t_uncensored

dco

Data cut-off time. In time-units since start of the trial.

events

May be specified instead of dco. The number of events that triggers data cut-off.

Value

A data frame containing simulated data. Snapshot taken at data cut-off.


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