Skip to content
Prev 207517 / 398503 Next

Two == expressions in bquote

Peter's way is better than mine.

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 Peter Dalgaard
Sent: Monday, January 25, 2010 12:57 PM
To: Larry Hotchkiss
Cc: r-help at r-project.org
Subject: Re: [R] Two == expressions in bquote
Larry Hotchkiss wrote:
numeric value of b> using bquote.
The comparison operators are not associative (they once were, but people 
were getting surprises from 3 > 2 > 1 evaluating to TRUE > 1 evaluating 
to FALSE). A set of suitably placed braces should clear things up:

text(2,8,bquote(delta == {mu^2 == .(mu^2)}))
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