Re: [R] Two == expressions in bquote

2010-01-26 Thread Henrique Dallazuanna
g [mailto:r-help-boun...@r-project.org] On > Behalf Of Henrique Dallazuanna > Sent: Monday, January 25, 2010 12:10 PM > To: Larry Hotchkiss > Cc: r-help@r-project.org > Subject: Re: [R] Two == expressions in bquote > > Try this: > > text(2,8, bquote(delta~'='~mu^2 == .(

Re: [R] Two == expressions in bquote

2010-01-25 Thread Bert Gunter
elp@r-project.org Subject: Re: [R] Two == expressions in bquote Larry Hotchkiss wrote: > Hi, > > I want to put text on a plot containing something like: a = b^2 = using bquote. > > Example: > > mu = 5 > plot(1:10,1:10) > text(2,8, bquote(delta == mu^2))# T

Re: [R] Two == expressions in bquote

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

Re: [R] Two == expressions in bquote

2010-01-25 Thread Peter Dalgaard
Larry Hotchkiss wrote: Hi, I want to put text on a plot containing something like: a = b^2 = using bquote. Example: mu = 5 plot(1:10,1:10) text(2,8, bquote(delta == mu^2))# This works text(2.5,8, bquote(phantom(0) == .(mu^2))) # but is unpredictable text(2,8, bquote(de

Re: [R] Two == expressions in bquote

2010-01-25 Thread Henrique Dallazuanna
Try this: text(2,8, bquote(delta~'='~mu^2 == .(mu^2))) On Mon, Jan 25, 2010 at 6:00 PM, Larry Hotchkiss wrote: > Hi, > > I want to put text on a plot containing something like: a = b^2 = numeric value of b> using bquote. > > Example: > >  mu = 5 >  plot(1:10,1:10) >  text(2,8, bquote(delta == m

[R] Two == expressions in bquote

2010-01-25 Thread Larry Hotchkiss
Hi, I want to put text on a plot containing something like: a = b^2 = using bquote. Example: mu = 5 plot(1:10,1:10) text(2,8, bquote(delta == mu^2))# This works text(2.5,8, bquote(phantom(0) == .(mu^2))) # but is unpredictable text(2,8, bquote(delta == mu^2 == .(mu^2)))