Jiaxiang Li 2019-03-18
参考 Github Pages
suppressMessages(library(tidyverse))
mtcars %>%
ggplot(aes(x = mpg)) +
geom_histogram() +
labs(
caption = 'Data from mtcars'
) +
theme(
plot.caption = element_text(hjust = 0)
)
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.