ggtitle() in default sets text as left-aligned. To center the text, add:
theme(plot.title = element_text(hjust=0.5))
to the ggplot2 expression.
ggtitle() in default sets text as left-aligned. To center the text, add:
theme(plot.title = element_text(hjust=0.5))to the ggplot2 expression.