Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vignettes/web_only/ggscatterstats.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ ggscatterstats(
label.var = title, ## variable to use for labeling data points
label.expression = rating < 5 & budget > 100, ## expression for deciding which points to label
point.label.args = list(alpha = 0.7, size = 4, color = "grey50"),
xfill = "#CC79A7", ## fill for marginals on the x-axis
yfill = "#009E73", ## fill for marginals on the y-axis
xsidehistogram.args = list(fill = "#CC79A7"), ## fill for marginals on the x-axis
ysidehistogram.args = list(fill = "#009E73"), ## fill for marginals on the y-axis
title = "Relationship between movie budget and IMDB rating",
caption = "Source: www.imdb.com"
)
Expand Down
12 changes: 10 additions & 2 deletions vignettes/web_only/purrr_examples.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,16 @@ plot_list <- purrr::pmap(
quote(rating > 8 & budget < 10)
),
type = list("r", "np", "bf"),
xfill = list("#009E73", "#999999", "#0072B2"),
yfill = list("#CC79A7", "#F0E442", "#D55E00"),
xsidehistogram.args = list(
list(fill = "#009E73"),
list(fill = "#999999"),
list(fill = "#0072B2")
),
ysidehistogram.args = list(
list(fill = "#CC79A7"),
list(fill = "#F0E442"),
list(fill = "#D55E00")
),
ggtheme = list(
ggthemes::theme_tufte(),
ggplot2::theme_classic(),
Expand Down
Loading