Function to flush title, subtitle and caption to the lefthand side of the ggplot2 graphics device

flush_left(g)

Arguments

g

ggplot object

Examples

plt <- ggplot2::ggplot(mtcars, ggplot2::aes(x = cyl)) +
  ggplot2::geom_bar() +
  ggplot2::labs(title = "Cylinders", subtitle = "Bar chart",
                caption = "mtcars")

flush_left(plt)