knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%", dpi = 180, fig.width = 8, fig.height = 5 )
R Package Containing Utility Functions And Themes For Personal Use
This Package contains:
Install development version from GitHub with:
# install.packages("devtools") devtools::install_github("maxhuebner/hubnR")
This is a basic example which shows you how to solve a common problem:
library(hubnR) setup_font_use() #To Load Font
Here is a plot without using the Theme:
mtcars %>% ggplot(aes(mpg, cyl, color = as_factor(gear))) + geom_point() + labs(title = "title", subtitle = "Testing Subtitle")
Plot using HubnR-Theme:
mtcars %>% ggplot(aes(mpg, cyl, color = as_factor(gear))) + geom_point() + labs(title = "title", subtitle = "Testing Subtitle") + theme_hubnr() #theme_plex()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.