Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

theme_stata: fix example for s1rcolor

  • Loading branch information...
commit 8d42323d24ab4d1eb15ac8beb77f4fc8e798724e 1 parent ed6ccea
@jrnold authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 R/stata.R
View
4 R/stata.R
@@ -228,8 +228,8 @@ theme_stata_colors <- function(scheme="s2color") {
##' (q2 + theme_stata("s1color"))
##' ## s1rcolor
##' (q1 + theme_stata("s1rcolor") + scale_colour_stata("s1rcolor"))
-##' (qplot(carat, price, colour="white", data=dsamp)
-##' + facet_wrap(~ clarity)
+##' (ggplot(dsamp, aes(x=carat, y=price)) + geom_point(colour="white")
+##' + facet_wrap(~ clarity) + scale_colour_stata("s1rcolor")
##' + ggtitle("Diamonds"))
##' ## s1mono
##' (q1mono + theme_stata("s1mono") + scale_colour_stata("mono"))
Please sign in to comment.
Something went wrong with that request. Please try again.