You need to add plot.title = element_text(hjust = 0.5) to the theme() function. Also, make sure that ggtitle() comes after theme(), otherwise, the code will ...
確定! 回上一頁