Creates mirrored slope plots comparing two treatment arms over a single observation interval. Both arms share a common x-axis and converge at a central endpoint, making the between-arm gap the primary visual quantity. Returns standard 'ggplot2' objects for full extensibility. The display was designed by Kati Maharry and is described in Maharry and Sullivan (2026, manuscript in preparation); it was first used in the supplementary appendix of McDonald and colleagues (2026) <doi:10.1016/S0140-6736(26)01385-1>.
| Version: | 0.2.1 |
| Depends: | R (≥ 4.0.0) |
| Imports: | ggplot2 (≥ 3.4.0), rlang (≥ 1.0.0), grDevices, stats, utils |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown, patchwork |
| Published: | 2026-10-27 |
| DOI: | 10.32614/CRAN.package.mirrorslope (may not be active yet) |
| Author: | Adam Sullivan [aut, cre], Capricor Therapeutics [fnd] |
| Maintainer: | Adam Sullivan <asullivan at capricor.com> |
| BugReports: | https://github.com/Sullivanstatistics/mirrorslope/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/Sullivanstatistics/mirrorslope |
| NeedsCompilation: | no |
| Language: | en-GB |
| Citation: | mirrorslope citation info |
| Materials: | README, NEWS |
| CRAN checks: | mirrorslope results |
| Reference manual: | mirrorslope.html , mirrorslope.pdf |
| Vignettes: |
Clinical workflow with ADaM data (source, R code) Customising the plot (source, R code) Introduction to mirrorslope (source, R code) |
| Package source: | mirrorslope_0.2.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: mirrorslope_0.2.1.zip, r-oldrel: not available |
| macOS binaries: | r-release (arm64): mirrorslope_0.2.1.tgz, r-oldrel (arm64): mirrorslope_0.2.1.tgz, r-release (x86_64): mirrorslope_0.2.1.tgz, r-oldrel (x86_64): mirrorslope_0.2.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=mirrorslope to link to this page.