I have the following histogram in R:
hist(
alpha, cex.main=2, cex.axis=1.2, cex.lab=1.2,
main=expression(
paste("Histogram of ", hat(mu), ", Bootstrap samples, Allianz")
)
)
The title is too long, so I want a line break. According to this thread I tried
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")
)
)
or
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 work, how can I get a line break in paste()?