Description Usage Arguments Examples
Add NTNU theme to ggplot chart
1 | theme_ntnu(base_size = 11, base_family = "")
|
base_size |
Basis for text and line sizes |
base_family |
Base font family |
1 2 3 4 | line <- ggplot2::ggplot(line_df, aes(x = year, y = lifeExp)) +
ggplot2::geom_line(colour = "#007f7f", size = 1) +
ggplot2::geom_hline(yintercept = 0, size = 1, colour="#333333") +
theme_ntnu()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.