directlabels: Direct Labels for Multicolor Plots

An extensible framework for automatically placing direct labels onto multicolor 'lattice' or 'ggplot2' plots. Label positions are described using Positioning Methods which can be re-used across several different plots. There are heuristics for examining "trellis" and "ggplot" objects and inferring an appropriate Positioning Method.

Getting started

Package details

AuthorToby Dylan Hocking [aut, cre] (ORCID: <https://orcid.org/0000-0002-3146-0865>)
MaintainerToby Dylan Hocking <toby.hocking@r-project.org>
LicenseGPL-3
Version2025.5.20
URL https://github.com/tdhock/directlabels
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("directlabels")

Try the directlabels package in your browser

Any scripts or data that you put into this service are public.

directlabels documentation built on June 8, 2025, 9:35 p.m.