Skip to content

Commit

Permalink
roxygenize
Browse files Browse the repository at this point in the history
  • Loading branch information
jrnold committed Jun 30, 2015
1 parent ec951b6 commit a1b296d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions man/colorblind.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ scale_fill_colorblind(...)
to control name, limits, breaks, labels and so forth.}
}
\description{
An 8-color colorblind safe qualitative discrete palette from
\url{http://jfly.iam.u-tokyo.ac.jp/color} and the
\href{http://wiki.stdout.org/rcookbook/Graphs/Colors_(ggplot2)/#a-colorblind-friendly-palette}{Cookbook
for R}.
An 8-color colorblind safe qualitative discrete palette.
}
\examples{
library(scales)
Expand All @@ -32,6 +29,11 @@ dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
p <- qplot(carat, price, data=dsamp, colour=clarity) + theme_igray()
p + scale_colour_colorblind()
}
\references{
Chang, W. "\href{http://www.cookbook-r.com/Graphs/Colors_(ggplot2)/#a-colorblind-friendly-palette}{Cookbook for R}"

\url{http://jfly.iam.u-tokyo.ac.jp/color}
}
\seealso{
The \pkg{dichromat} package, \code{\link[scales]{dichromat_pal}},
and \code{\link{scale_color_tableau}} for other colorblind palettes.
Expand Down

0 comments on commit a1b296d

Please sign in to comment.