Is it possible to split the main title of a plot() in 2 or more lines in R?
Moreover I have a title which consists of many argumenets pasted together
I had the opposite problem : how to pass from a three line title to a one line title. To solve that, you just add to concatenate your paste vectors as follow:
plot(1, main=c(paste("X:",1," ","Y:", 2),paste("Z:",3)))
plot(1, main=paste("X:",1," ","Y:", 2," ","\nZ:",3))
Like this:
plot(1)
title(main="This is \nTitle")
Edit:
Try this
plot(1, main=paste("X:",1," ","Y:", 2," ","\nZ:",3))