Description Usage Arguments Value Author(s) Examples
Centers and increases font size of a ggplot2 graphic title
1 | centertitle(Color = "blue")
|
Color |
color of the text in the ggplot2 title |
ggplot2 theme code to center the title
Jim Albert
1 2 3 4 5 6 | df <- data.frame(p=c(.1, .3, .5, .7, .9),
Prior=rep(1/5, 5))
ggplot(df, aes(p, Prior)) +
geom_point() +
ggtitle("My Prior") +
centertitle()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.