Re: [R] main= bquote(paste("Results for ", beta, "3", ==.(b1)))) doesn't work.

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Mon 31 Jul 2006 - 07:25:10 EST

I assume the 3 is supposed to be a subscript. Try this:

  b1 <- x <- y <- 1
  plot(x,y, main = bquote("Results for " ~ beta[3] ==.(b1)))

On 7/30/06, Marco Boks <marco.boks@inter.nl.net> wrote:
> Hi,
>
> I need to plot the beta as the symbol, followed by the index 3 as the title of a graph.
>
> This code works> main= bquote(paste("Results for ", beta ==.(b1))
>
> but I also need the index 3.
> I tried (simplified):
>
> >plot(x,y, main= bquote(paste("Results for ", beta, "3", ==.(b1))))
>
> and a few other versions, but I can not get it to run properly.
>
> Any help would be greatly appreciated,
>
> Thanks
>
> Marco
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
>
https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon Jul 31 07:30:54 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 31 Jul 2006 - 10:17:03 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.