Skip to content
Prev 207516 / 398503 Next

Two == expressions in bquote

I think that careful examination will show that Henrique's solution is not
quite right: the text '=' character is slightly different than the symbol
font character. This is admittedly nitpicking, but ...

try instead:

text(2,8,bquote(paste(delta==mu^2,phantom()==.(mu^2))))

Cheers,

Bert Gunter
Genentech Nonclinical Biostatistics
 
 
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Henrique Dallazuanna
Sent: Monday, January 25, 2010 12:10 PM
To: Larry Hotchkiss
Cc: r-help at r-project.org
Subject: Re: [R] Two == expressions in bquote

Try this:

text(2,8, bquote(delta~'='~mu^2 == .(mu^2)))
On Mon, Jan 25, 2010 at 6:00 PM, Larry Hotchkiss <larryh at udel.edu> wrote:
numeric value of b> using bquote.
graphics window on a 64-bit Windows machine, and either R 2.11.0 development
edition for 64-bit Windows or R 9.2.2 on the same machine ((x 86)).
by using the base x coordinate + epsilon*max(x), for example --
additional text is not predictable.
http://www.R-project.org/posting-guide.html