Learn R Programming

door (version 0.0.2)

Analysis of Clinical Trials with the Desirability of Outcome Ranking Methodology

Description

Statistical methods and related graphical representations for the Desirability of Outcome Ranking (DOOR) methodology. The DOOR is a paradigm for the design, analysis, interpretation of clinical trials and other research studies based on the patient centric benefit risk evaluation. The package provides functions for generating summary statistics from individual level/summary level datasets, conduct DOOR probability-based inference, and visualization of the results. For more details of DOOR methodology, see Hamasaki and Evans (2025) . For more explanation of the statistical methods and the graphics, see the technical document and user manual of the DOOR 'Shiny' apps at .

Copy Link

Version

Install

install.packages('door')

Monthly Downloads

485

Version

0.0.2

License

GPL (>= 3)

Maintainer

Yijie He

Last Published

July 8th, 2025

Functions in door (0.0.2)

halperin_ci

Calculate confidence interval of DOOR probability based on Halperin et al. (1989)'s method
mock_raw_data

Mock Raw Data
logit

Logit transformation
partial_credit_analysis

Partial credit analysis for DOOR
partial_credit_biplot

Partial credit plot
inv.logit

Calculate inverse of logit transformation
inv_tanh_ci

Calculate confidence interval of DOOR probability based on inverse hyperbolic tangent transformation of Wald-type CI
t_test_summary

t test with summary statistics
pseudo_score_ci

Calculate pseudo score type confidence interval of DOOR probability
reml

Restricted maximum likelihood estimate of DOOR outcome cell proportions
var_pi

Variance of DOOR probability
pc.contour

Calculates values for contour plots
partial_credit_contour_plot

Generate contour plot for partial credit analysis
calc_doorprob

Calculate DOOR probability
door_ci

Calculate confidence intervals for DOOR probability
door_summary

Summarize individual level data into summary level data
door_component_barplot

Create DOOR component barplot
door_test

Hypothesis testing for the DOOR probability
door_barplot

Create DOOR summary barplot
door_cumulative_forestplot

Generate cumulative DOOR forest plot
door_component_forestplot

Create DOOR component forest plot
assign_pc

Perform partial credit analysis given a grade key
calc_bound

Calculate lower/upper bound of forest plot given upper, lower of data
generate_color

Generate DOOR standard color scheme
generate_forestp

Forest plot render
generate_shape

Generate shapes for partial credit plot