Skip to content

Commit 1d3a4ac

Browse files
Fix typos in examples (#3714)
1 parent 6f93aa0 commit 1d3a4ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

R/annotation-map.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ NULL
1515
#'
1616
#' seal.sub <- subset(seals, long > -130 & lat < 45 & lat > 40)
1717
#' ggplot(seal.sub, aes(x = long, y = lat)) +
18-
#' annotation_map(usamap, fill = "NA", colour = "grey50") +
18+
#' annotation_map(usamap, fill = NA, colour = "grey50") +
1919
#' geom_segment(aes(xend = long + delta_long, yend = lat + delta_lat))
2020
#' }
2121
#'
@@ -25,7 +25,7 @@ NULL
2525
#' longr = cut(long, 2))
2626
#'
2727
#' ggplot(seal2, aes(x = long, y = lat)) +
28-
#' annotation_map(usamap, fill = "NA", colour = "grey50") +
28+
#' annotation_map(usamap, fill = NA, colour = "grey50") +
2929
#' geom_segment(aes(xend = long + delta_long, yend = lat + delta_lat)) +
3030
#' facet_grid(latr ~ longr, scales = "free", space = "free")
3131
#' }

man/annotation_map.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)