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 <[EMAIL PROTECTED]> 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.