Skip to content

📦 CompARE: R package for designing studies with composite endpoints

Notifications You must be signed in to change notification settings

CompARE-Composite/CompAREdesign

Repository files navigation

CompARE

License: GPL v3

CompARE (https://www.grbio.eu/compare/) is a initiative inspired to provide help on issues relating to trials with composite endpoints. CompARE may be used as a tool for calculating the elements needed in the planning phase of clinical trials involving composite endpoints. CompARE comprises two diferent tools:

  • A couple of shiny apps for time-to-event and binary endpoints, respectively. You can found more info here
  • The R package CompAREdesign

CompAREdesign R package

Functions

The CompAREdesign package contains the following functions:

  • surv_tte to compute the survival function for the composite time-to-event endpoint and both components
  • effectsize_tte to compute the treatment effect for the composite time-to-event endpoint
  • samplesize_tte to compute the sample size for the composite time-to-event endpoint
  • ARE_tte to compute the ARE method for time-to-event endpoints
  • plot_tte to get four plots related to previous features
  • simula_tte to simulate time-to-event data for the time-to-event composite endpoint and its components
  • prob_cbe to compute the probability of a composite binary endpoint
  • lower_corr to compute the lower bound of Pearson’s correlation
  • upper_corr to compute the upper bound for Pearson’s correlation
  • effectsize_cbe to compute the treatment effect on the composite binary endpoint
  • samplesize_cbe to compute the sample size for composite binary endpoint
  • ARE_cbe to compute the ARE method for composite binary endpoint
  • simula_cbe to simulate time-to-event data for the binary composite endpoint and its components

Installation

install.packages("CompAREdesign")
library("CompAREdesign")

About

📦 CompARE: R package for designing studies with composite endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages