legends2hide {directlabels}R Documentation

legends2hide

Description

Extract guides to hide from a ggplot.

Usage

legends2hide(p)

Arguments

p

p

Value

NULL if no legends with colour or fill to hide.

Author(s)

Toby Dylan Hocking <toby.hocking@r-project.org> [aut, cre] (ORCID: <https://orcid.org/0000-0002-3146-0865>)


[Package directlabels version 2025.6.24 Index]