Learn R Programming

⚠️There's a newer version (2.4.0) of this package.Take me there.

CompAREdesign (version 2.3.1)

Statistical Functions for the Design of Studies with Composite Endpoints

Description

It has been designed to calculate the required sample size in randomized clinical trials with composite endpoints. It also calculates the expected effect and the probability of observing the composite endpoint, among others. The methodology can be found in Bofill & Gómez (2019) and Gómez & Lagakos (2013) .

Copy Link

Version

Install

install.packages('CompAREdesign')

Monthly Downloads

287

Version

2.3.1

License

GPL-3

Maintainer

Marta Roig

Last Published

February 15th, 2024

Functions in CompAREdesign (2.3.1)

plot_tte

Plot graphics related to the composite endpoint.
dGumbel

Gumbel's copula
freedman_formula

Freedman's formula
effectsize_tte

Effect for composite time-to-event endpoints
schoenfeld_formula

Schoenfeld's formula
dNormal

Normal copula
samplesize_cbe

Sample size for composite binary endpoints
lower_corr

Lower bound for Pearson's Correlation
simula_tte

Simulation of composite time-to-event endpoints
surv_tte

Survival function for composite time-to-event endpoints
upper_corr

Upper bound for Pearson's Correlation
samplesize_tte

Sample size for composite time to event endpoints
simula_cbe

Simulation of binary composite endpoints
ARE_cbe

ARE method for composite binary endpoints
dFrank

Frank's copula
ARE_tte

ARE method for composite time to event endpoints
Sstar_func_perc

Difference between survival function and a given percentile
Sstar

Survival function for composite endpoint
dFGM

FGM copula
get_prob1

Probability of observing the event
effectsize_cbe

Effect for composite binary endpoints
prob_cbe

Probability of composite binary endpoints
CompAREdesign-package

CompAREdesign: Statistical Functions for the Design of Studies with Composite Endpoints
MarginalsSelection

Marginal distributions for both components
CopulaSelection

Copula object
dClayton

Clayton's copula
f_sim

Simulation 1-arm