This package for R constructs a sequential trial from observational data
The package can be installed via
devtools::install_github("LindaNab/seqtrial", build_vignettes = TRUE)
library(seqtrial)
# load the internal paxlovid data
data("paxlovid", package = "seqtrial")
paxlovid_splitted <-
data_splitter(data = paxlovid,
treatment = A,
tt_treatment = tt_A)
# construct trials
trial_constructor(data = paxlovid_splitted,
n = 5,
treatment = A)
Browse the vignettes of the package for more information.
browseVignettes(package = "seqtrial")