我在R中有以下柱状图:
hist(
alpha, cex.main=2, cex.axis=1.2, cex.lab=1.2,
main=expression(
paste("Histogram of ", hat(mu), ", Bootstrap samples, Allianz")
)
)
标题太长了,所以我想换行.根据这个我试了thread次
hist(
alpha, cex.main=2, cex.axis=1.2, cex.lab=1.2,
main=expression(
paste("Histogram of ", hat(mu), ",cat("\n") Bootstrap samples, Allianz")
)
)
或
hist(
alpha, cex.main=2, cex.axis=1.2, cex.lab=1.2,
main=expression(
paste("Histogram of ",hat(mu), cat("\n"),", Bootstrap samples, Allianz")
)
)
But both do not w或k, how can I get a line break in paste()?