Package: ggtwotone 0.1.0

Beenu Sareena
ggtwotone: Dual-Tone and Contrast-Aware 'ggplot2' Geoms
Provides dual-stroke and contrast-aware extensions to 'ggplot2', designed for improved visibility and accessibility in complex visualizations. Includes geoms for dual-stroke segments, regression lines, curved annotations, function plots, paths, and adaptive text. Also includes utility functions for computing contrast-aware color pairs and perceptually distinct highlight palettes using Web Content Accessibility Guidelines (WCAG)-based contrast logic.
Authors:
ggtwotone_0.1.0.tar.gz
ggtwotone_0.1.0.tar.gz(r-4.7-any)ggtwotone_0.1.0.tar.gz(r-4.6-any)
ggtwotone_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ggtwotone/json (API)
| # Install 'ggtwotone' in R: |
| install.packages('ggtwotone', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bwanniarachchige2/ggtwotone/issues
Last updated from:6665893254. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 162 | ||
| source / vignettes | OK | 181 | ||
| linux-release-x86_64 | OK | 166 | ||
| wasm-release | OK | 130 |
Exports:adjust_contrast_pairgeom_curve_dualgeom_function_dualgeom_lm_dualgeom_path_dualgeom_segment_dualgeom_text_contrasthighlight_colorshighlight_info
Dependencies:clicolorspacecpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Adjust Contrast Between Two Stroke Colors | adjust_contrast_pair |
| Dual-Stroke Curved Line Annotations | geom_curve_dual |
| Dual-Tone Curved Function Lines | geom_function_dual |
| Dual-Tone Regression Line with Contrast-Aware Strokes | geom_lm_dual |
| Draw dual-stroke paths with side-by-side colours | geom_path_dual |
| Dual-Stroke Line Segments with Side-by-Side Offset | geom_segment_dual |
| Contrast-Aware Text Geom | geom_text_contrast |
| Generate a high-contrast, well-separated highlight palette (global search) | highlight_colors |
| Inspect effective palette constraints | highlight_info |