ggplot2のCenter Plotタイトル
こんにちは、この単純なコード(および今朝のすべてのスクリプト)は、ggplot2で中心から外れたタイトルを付け始めました Ubuntu version: 16.04 R studio version: Version 0.99.896 R version: 3.3.2 GGPLOT2 version: 2.2.0 今朝、上記を新たにインストールしてこれを修正しようとしました... dat <- data.frame( time = factor(c("Lunch","Dinner"), levels=c("Lunch","Dinner")), total_bill = c(14.89, 17.23) ) # Add title, narrower bars, fill color, and change axis labels ggplot(data=dat, aes(x=time, y=total_bill, fill=time)) + geom_bar(colour="black", fill="#DD8888", width=.8, stat="identity") + guides(fill=FALSE) …