Skip to content
Prev 58928 / 398502 Next

expressions and paste

I am trying to get a subscript into the title.
My expression is quote(bold(apoA[bold("1")]))
I have managed to get something near to what I want with

sd2 <-1.882
measure <- "g/L"
direction <- "increase"
chem <- quote(bold(apoA[bold("1")]))
plot(0,0)
  titletxt <- substitute(paste("per ", sd2, " ",measure," ", direction, "\n in usual ",chem),
   list(chem = chem,sd2=sd2,measure=measure,direction=direction))
  title(main=titletxt,cex.main=1.4,font.main=2)

However, I can't get bold text this way.

Emily.
On 11 Nov 2004 at 12:58, Roger D. Peng wrote: