Skip to content
Prev 311791 / 398503 Next

characters, mathematical expressions and computed values

My message much earlier in the thread was
  > I think that bquote, with its .() operator, suffices for [almost?] any single title;
  > don't bother fiddling with expression(), substitute(), or parse().   (You can make
  > those work in many situations, but if you stick with just bquote then you can
  > spend your time on the title itself.)

I still think that is a good suggestion.  While you are learning this stuff, don't
even consider solutions that are not of the form
   main=bquote(...)
That leaves you with two of your nine attempts
  >  #chart 6:
  >  hist(x,main=bquote(paste("6. ",expression(bar(x))," = ",.(meanx))))
  > #chart 8:
  >  hist(x,main=bquote("Heart Attack (" * bar(X)==.(meanx) *")"))
I would ignore #6 as well because it has a call to expression() inside
the call to bquote.

What do you want to change about #8?

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com