Skip to content

Commit 85478e3

Browse files
agmurrayteunbrand
andauthored
Update R/layer.R
edits from Tuen Co-authored-by: Teun van den Brand <[email protected]>
1 parent beb08e5 commit 85478e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/layer.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
#' `NA`, the default, includes if any aesthetics are mapped.
5959
#' `FALSE` never includes, and `TRUE` always includes.
6060
#' It can also be a named logical vector to finely select the aesthetics to
61-
#' display. This option can be used to include color for all levels, even
62-
#' when no data exists, use `TRUE`. If 'FALSE', all levels are shown in legend,
63-
#' but omitting colors for unobserved levels.
61+
#' display. To include legend keys for all levels, even
62+
#' when no data exists, use `TRUE`. If `NA`, all levels are shown in legend,
63+
#' but unobserved levels are omitted.
6464
#' @param inherit.aes If `FALSE`, overrides the default aesthetics,
6565
#' rather than combining with them. This is most useful for helper functions
6666
#' that define both data and aesthetics and shouldn't inherit behaviour from

0 commit comments

Comments
 (0)