Title: | Coffee Related ggplot2 and rmarkdown Themes |
---|---|
Description: | Create coffee related plots in ggplot, choose coffee related emojis, find out why coffee doesn't taste that good and general geekery around coffee. |
Authors: | Roel M. Hogervorst [cre, aut], Edwin Thoen [aut] |
Maintainer: | Roel M. Hogervorst <[email protected]> |
License: | GPL-3 |
Version: | 0.0.0.9000 |
Built: | 2024-11-09 06:08:45 UTC |
Source: | https://github.com/RMHogervorst/coffeegeeks |
Coffee House Ponders theme 1 - mocha_splatter 2 - coffee_grounds 3 - espresso_cream 4 - latte 5 - flower_sheet_light
Cappucino theme 6 - hot_milk 7 - cream 8 - cream_and_coffee 9 - beans 10 - espresso
coffee_cols(...)
coffee_cols(...)
... |
Columns desired, either the bare names, or the numbers associated with the colors. |
Part of the Rstatscoffeegeeks essentials. Return the color code associated by the name and number.
The hex code of the desired color.
coffee_col(1) coffee_col(mocha_splatter) coffee_col(hot_milk, espresso) coffee_col(1, 5, 6) coffee_col(espresso, 4, 6) ggplot2::ggplot(mtcars, aes(drat, mpg)) + geom_point(aes(col = as.factor(cyl))) + scale_color_manual(values = coffee_cols(beans, latte, espresso))
coffee_col(1) coffee_col(mocha_splatter) coffee_col(hot_milk, espresso) coffee_col(1, 5, 6) coffee_col(espresso, 4, 6) ggplot2::ggplot(mtcars, aes(drat, mpg)) + geom_point(aes(col = as.factor(cyl))) + scale_color_manual(values = coffee_cols(beans, latte, espresso))
A set of coffee colors
coffee_pal() scale_colour_coffee(...) scale_color_coffee(...) scale_fill_coffee(...) scale_gradient_coffee(..., space = "Lab", na.value = "grey50", guide = "colourbar")
coffee_pal() scale_colour_coffee(...) scale_color_coffee(...) scale_fill_coffee(...) scale_gradient_coffee(..., space = "Lab", na.value = "grey50", guide = "colourbar")
... |
Other arguments passed on to |
na.value |
Colour to use for missing values |
A package full of coffee goodness. including but not limited to coffee themes for ggplot.
This function extracts the flavours from a sentance and returns them with or without descriptions. The default returns just the words that are tastes, and if you set description to TRUE a data frame with word and explanation is returned.
extract_flavour(charvec, description = FALSE)
extract_flavour(charvec, description = FALSE)
charvec |
a sentance like: "The coffee has a smooth soft creamy taste" |
description |
FALSE or TRUE if you want the description of those words |
extract_flavour("the nippy brew had a oily after taste with turpsy tones")
extract_flavour("the nippy brew had a oily after taste with turpsy tones")
The following flavours are used to describe coffee.
get_flavour_descriptions()
get_flavour_descriptions()
http://articles.submityourarticle.com/words-used-to-describe-the-taste-of-coffee-55923
Helps you diagnose trouble in coffee paradise. See examples for instructions.
help_my_coffee_(tastes = NULL, is = NULL)
help_my_coffee_(tastes = NULL, is = NULL)
You can add multiple things wrong with your coffee
"http://www.jimseven.com/2006/07/31/5-reasons-your-coffee-tastes-bad/"
"https://www.roastycoffee.com/reasons-your-coffee-tastes-bad/"
help_my_coffee_(is = "cold") help_my_coffee_(tastes = "sour") help_my_coffee_(tastes = "bitter") help_my_coffee_(is = "gone") help_my_coffee_(tastes = c("sour", "strong"))
help_my_coffee_(is = "cold") help_my_coffee_(tastes = "sour") help_my_coffee_(tastes = "bitter") help_my_coffee_(is = "gone") help_my_coffee_(tastes = c("sour", "strong"))