I would like to have a title for the plot in two lines, but this does not work, why? and how can i make it work?
CVal<-1 SumEpsVal<-2 plot(1:10, main=bquote(paste("C=", .(CVal), " \n ", sum(xi), "=", .(SumEpsVal) )))
It works here:
plot(1:10, main=paste("C=1", "\n", "SumXi=2"))
I think bquote is doing something wrong ... (search? Bquote) I tried to change the environment in bqoute (where argument), but I donβt know which environment to accept.
BTW:
plot(1:10, main=bquote(paste("C=", .(CVal), "bla \n ", sum(xi), "=", .(SumEpsVal) )))
does something crazy with blah.
Giuseppe
source share