pdGetInt: Create time interval

View source: R/pfDesign_simu.R

pdGetIntR Documentation

Create time interval

Description

Map enrollment time to [0, start of current study] and [start of current study, end of current study]. Then, create intervals for [0, start of current study].

Usage

pdGetInt(
  vec_t,
  n_interval = 4,
  t_start = 0,
  t_hist = 2,
  t_end = 3,
  remap = FALSE,
  ...
)

Arguments

vec_t

patient enrollment time

n_interval

number of intervals for historical enrollment

t_start

time corresponding to the start of the study

t_hist

time corresponding to the end of the historical study and start of the current randomized segment

t_end

time corresponding to the end of the study

trange

map enrollment time to certain range


olssol/pfDesign documentation built on March 27, 2022, 4:30 p.m.