Add title and subtitle to a ggplot

Description

Found in http://www.antoni.fr/blog/?p=39 .. whewww... modified a little

Usage

1
addGGtitle(main, sub = "")

Arguments

main

String for main title

sub

String for sub title

Details

Usage: ggplot(...) + geom_X(...) + addGGtitle(...)

Value

A ggplot object

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.