Package: maraca 1.1.0

Monika Huhn

maraca: The Maraca Plot: Visualizing Hierarchical Composite Endpoints

Supports visual interpretation of hierarchical composite endpoints (HCEs). HCEs are complex constructs used as primary endpoints in clinical trials, combining outcomes of different types into ordinal endpoints, in which each patient contributes the most clinically important event (one and only one) to the analysis. See Karpefors M et al. (2022) <doi:10.1177/17407745221134949>.

Authors:Martin Karpefors [aut], Samvel B. Gasparyan [aut], Stefano Borini [ctb], Kevin Anderson [aut], Monika Huhn [aut, cre]

maraca_1.1.0.tar.gz
maraca_1.1.0.zip(r-4.7-any)maraca_1.1.0.zip(r-4.6-any)maraca_1.1.0.zip(r-4.5-any)
maraca_1.1.0.tgz(r-4.6-any)maraca_1.1.0.tgz(r-4.5-any)
maraca_1.1.0.tar.gz(r-4.7-any)maraca_1.1.0.tar.gz(r-4.6-any)
maraca_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
maraca/json (API)

# Install 'maraca' in R:
install.packages('maraca', repos = c('https://astrazeneca.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/astrazeneca/maraca/issues

Datasets:

On CRAN:

Conda:

6.35 score 3 stars 31 scripts 278 downloads 9 exports 33 dependencies

Last updated from:ddbc160727. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK182
source / vignettesOK382
linux-release-x86_64OK164
macos-release-arm64OK167
macos-oldrel-arm64OK152
windows-develOK117
windows-releaseOK111
windows-oldrelOK115
wasm-releaseOK130

Exports:animate_plotcomponent_plotcumulative_plotdustindustin_plotmaracamosaic_plotplot_maracavalidate_maraca_plot

Dependencies:backportscheckmateclicpp11dplyrfarvergenericsggplot2gluegtablehceisobandlabelinglifecyclemagrittrpatchworkpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Maraca Plots - Animation
Usage | Basic Static Maraca Plot | Animate Basic Maraca Plot | Animation plot options | Controlling Animation Speed and Duration | Sequential Animation of Each Group/Arm | Size of animation output | Example gif | Animating Alternative Maraca Plots | Saving the Animation

Last update: 2026-01-14
Started: 2026-01-14

Maraca Plots - Basic Usage
Introduction | Basic usage | Plotting the resulting object | References

Last update: 2026-01-14
Started: 2022-08-12

Maraca Plots - Frequently Asked Questions
I get the warning "Removed 1 rows containing missing values (geom_point)." when plotting using density_plot_type scatter. | I want to add other information to the plot rather than win odds. | For my continuous outcome, lower values are better | Outcome axis labels are overlapping | I get the error "outcome [XY] is not present in column"

Last update: 2026-01-14
Started: 2022-08-19

Maraca Plots - Introduction to the Mosaic plot
Introduction | Creating the mosaic plot | Styling

Last update: 2026-01-14
Started: 2025-06-09

Maraca Plots - Plotting win odds
Component plot | Cumulative plot | Styling

Last update: 2026-01-14
Started: 2023-11-08

Maraca Plots - Validation

Last update: 2025-04-29
Started: 2023-11-08

Maraca Plots - Alternative Endpoints
Binary endpoints | Last outcome | Step outcome

Last update: 2024-03-15
Started: 2024-03-15

Maraca Plots - Themes and Styling
Default themes | Extending themes

Last update: 2024-03-15
Started: 2023-11-08

Readme and manuals

Help Manual

Help pageTopics
Creates and returns an animated version of the standard maraca plot.animate_plot animate_plot.adhce animate_plot.default animate_plot.maraca
Plotting components of win oddscomponent_plot component_plot.adhce component_plot.default component_plot.maraca
Plotting the cumulated components of win oddscumulative_plot cumulative_plot.adhce cumulative_plot.default cumulative_plot.maraca dustin dustin_plot
Example HCE scenario A.hce_scenario_a
Example HCE scenario B.hce_scenario_b
Example HCE scenario C.hce_scenario_c
Example HCE scenario D.hce_scenario_d
Example HCE scenario KCCQ3.hce_scenario_kccq3
maraca package.maraca-package maraca print.maraca
Mosaic plotmosaic_plot mosaic_plot.adhce mosaic_plot.default mosaic_plot.maraca
Creates and returns the plot of the maraca data.plot_maraca
Generic function to plot the adhce object using plot().plot.adhce
Generic function to plot the maraca object using plot().plot.maraca
Generic function to generate validation data for the maraca plot object.validate_maraca_plot