Skip to content

pekjoonwu/TOAST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOAST

Installation

To install the latest version of the TOAST package from GitHub, run the following code in R:

install.packages('devtools')
library(devtools)
devtools::install_github('pekjoonwu/TOAST')

This command should automatically install all required packages if they are not installed already.

Quick Start

Our framework includes two parts: Three outcome decision-making for one primary endpoint and for two co-primary endpoints.

  1. For one primary endpoint, please use these following commands to see the example usage.
library(TOAST)
?three_outcomes_cont ## For continuous endpoint
?three_outcomes_binary ## For binary endpoint
?three_outcomes_count ## For count endpoint using Poisson distribution
?three_outcomes_count_negbin ## For count endpoint using Negative binomial distribution
?three_outcomes_survival ## For time-to-event endpoint
  1. For co-primary endpoint, please use these following commands to see the example usage.
library(TOAST)
?three_outcomes_cont_coprim ## For continuous + continuous endpoints
?three_outcomes_binary_coprim ## For binary + binary endpoints
?three_outcomes_count_coprim ## For count + count endpoints
?three_outcomes_cont_binary_coprimary ## For continuous + binary endpoints
?three_outcomes_cont_count_coprimary ## For continuous + count endpoints
?three_outcomes_bin_count_coprimary ## For binary + count endpoints

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages