knitr::opts_chunk$set(echo = TRUE)
It is written in the stars, that when a twitter hashtag is created, a community is born. As is true for the #rstatscoffeegeeks community.
This package contains basic needs for every rstatscoffeegeek.
Install this package with
devtools::install_github("rmhogervorst/coffeegeeks")
To use the coffee rmarkdown template, install the package and go 'create new rmarkdown document'
Then in the dialog select Coffee theme
After knitting, the endresult looks something like this:
library(coffeegeeks) library(ggplot2) ggplot(mtcars)+ geom_point(aes(hp, wt, color = mpg))+ scale_gradient_coffee() ggplot(mtcars)+ geom_density(aes(mpg, fill = as.factor(cyl)))+ scale_fill_coffee()
Use the function help_my_coffee_
.
help_my_coffee_(tastes = "bitter")
Are you passionate about coffee? Do you want to help out? The development of this package is all online on github.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.