centertitle <- function(){
theme(plot.title = element_text(colour = "blue", size = 18,
hjust = 0.5, vjust = 0.8, angle = 0))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.