Skip to content

Commit c131022

Browse files
authored
typos; stick to en-GB; prefer project to website (#4145)
* typos; stick to en-GB; prefer project to website Use ColorBrewer project name rather than obsolete website name. Not sure what is meant by "use blender variants" in the last example. Should it be "use binned variants"? * update doc for minor fixes
1 parent a3019f9 commit c131022

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

R/scale-brewer.r

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
#' Sequential, diverging and qualitative colour scales from colorbrewer.org
1+
#' Sequential, diverging and qualitative colour scales from ColorBrewer
22
#'
33
#' @description
4-
#' The `brewer` scales provides sequential, diverging and qualitative
4+
#' The `brewer` scales provide sequential, diverging and qualitative
55
#' colour schemes from ColorBrewer. These are particularly well suited to
66
#' display discrete values on a map. See \url{http://colorbrewer2.org} for
77
#' more information.
88
#'
99
#' @note
10-
#' The `distiller` scales extend brewer to continuous scales by smoothly
10+
#' The `distiller` scales extend `brewer` scales by smoothly
1111
#' interpolating 7 colours from any palette to a continuous scale. The `fermenter`
12-
#' scales provide binned versions of the brewer scales.
12+
#' scales provide binned versions of the `brewer` scales.
1313
#'
1414
#' @details
1515
#' The `brewer` scales were carefully designed and tested on discrete data.
@@ -24,7 +24,7 @@
2424
#' \item{Sequential}{Blues, BuGn, BuPu, GnBu, Greens, Greys, Oranges,
2525
#' OrRd, PuBu, PuBuGn, PuRd, Purples, RdPu, Reds, YlGn, YlGnBu, YlOrBr, YlOrRd}
2626
#' }
27-
#' Modify the palette through the `palette` arguement.
27+
#' Modify the palette through the `palette` argument.
2828
#'
2929
#' @inheritParams scales::brewer_pal
3030
#' @inheritParams scale_colour_hue
@@ -73,7 +73,7 @@
7373
#' v + scale_fill_distiller()
7474
#' v + scale_fill_distiller(palette = "Spectral")
7575
#'
76-
#' # or use blender variants to discretize continuous data
76+
#' # or use blender variants to discretise continuous data
7777
#' v + scale_fill_fermenter()
7878
#'
7979
scale_colour_brewer <- function(..., type = "seq", palette = 1, direction = 1, aesthetics = "colour") {

man/scale_brewer.Rd

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

0 commit comments

Comments
 (0)