Learn R Programming

mdthemes (version 0.1.0)

md_theme_base: ggthemes Markdown Themes

Description

{ggthemes} themes supporting markdown syntax

Usage

md_theme_base(...)

md_theme_calc(...)

md_theme_clean(...)

md_theme_economist(...)

md_theme_economist_white(...)

md_theme_excel(...)

md_theme_excel_new(...)

md_theme_few(...)

md_theme_fivethirtyeight(...)

md_theme_foundation(...)

md_theme_gdocs(...)

md_theme_hc(...)

md_theme_igray(...)

md_theme_map_gg(...)

md_theme_pander(...)

md_theme_par(...)

md_theme_solarized(...)

md_theme_solarized_2(...)

md_theme_solid(...)

md_theme_stata(...)

md_theme_tufte(...)

md_theme_wsj(...)

Arguments

...

Arguments passed on to the corresponding theme in package {ggthemes}

Value

An object of class theme that can be added to any ggplot

See Also

as_md_theme()

Examples

Run this code
# NOT RUN {
library(ggplot2)
data(mtcars)

p <- ggplot(mtcars, aes(hp, mpg)) +
  geom_point() +
  labs(
    title = "A **bold** title",
    subtitle = "An *italics* subtitle",
    caption = "A <span style = 'color:blue'>blue</span> caption"
  )

# With a 'usual' theme the text is not rendered
p

# By adding an 'md' theme the text is rendered properly
p + md_theme_excel_new()

# }

Run the code above in your browser using DataLab