Skip to contents

ggplot function to create standard background and axis labels for a DLUHC style graph

Usage

dluhc_theme(size = 2)

Arguments

size

a variable used to edit the text size. This is not the font size, but works as a multiplier for font size, default is 2

Value

a ggplot object

Examples

df <- dplyr::filter(gapminder::gapminder,country == "Austria")
#> Error in loadNamespace(x): there is no package called ‘gapminder’
ggplot(df, aes(x = year, y=lifeExp))
#> Error in ggplot(df, aes(x = year, y = lifeExp)): `data` cannot be a function.
#>  Have you misspelled the `data` argument in `ggplot()`
+ dluhc_theme()
#> Error in eval(expr, envir, enclos): Cannot use `+` with a single argument
#>  Did you accidentally put `+` on a new line?