Skip to content

R Package sorting out construction of a sequential trial using observational data

Notifications You must be signed in to change notification settings

LindaNab/seqtrial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The seqtrial Package

This package for R constructs a sequential trial from observational data

Installation

The package can be installed via

devtools::install_github("LindaNab/seqtrial", build_vignettes = TRUE)

Quick demo

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)

More examples

Browse the vignettes of the package for more information.

browseVignettes(package = "seqtrial")

About

R Package sorting out construction of a sequential trial using observational data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages