ggplot function to create standard background and axis labels for a DLUHC style graph
dluhc_theme.Rd
ggplot function to create standard background and axis labels for a DLUHC style graph
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
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?