50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

psborrow2 (version 0.0.4.0)

cut_off_funs: Cut Off Functions

Description

Cut Off Functions

Usage

cut_off_none()

cut_off_after_first(time)

cut_off_after_last(time)

cut_off_after_events(n)

Value

A DataSimCutOff object containing a cut-off function

Arguments

time

Time to cut off

n

Number of events

Functions

  • cut_off_none(): No cut off is specified

  • cut_off_after_first(): Cut off at time after first enrolled patient

  • cut_off_after_last(): Cut off at time after last enrolled patient

  • cut_off_after_events(): Cut off after the time of the n-th event

Examples

Run this code
cut_off_none()
cut_off_after_first(time = 36)
cut_off_after_last(time = 36)
cut_off_after_events(n = 20)

Run the code above in your browser using DataLab