On 22 Nov 2013, at 07:53 , Rolf Turner r.tur...@auckland.ac.nz wrote:
On 11/22/13 18:47, William Dunlap wrote:
a - 2; b - 3; xyplot(1:10 ~ a*(1:10), sub = c(bquote(a == .(a) ~
b==.(b
the subtitle contains three copies of the a = 2 b = 3 phrase.
Why does it do that? How do I tell it
On Nov 22, 2013, at 12:14 AM, peter dalgaard wrote:
On 22 Nov 2013, at 07:53 , Rolf Turner r.tur...@auckland.ac.nz wrote:
On 11/22/13 18:47, William Dunlap wrote:
a - 2; b - 3; xyplot(1:10 ~ a*(1:10), sub = c(bquote(a == .(a) ~
b==.(b
the subtitle contains three copies of the a =
Peter,
thank you. this is perfect. I have been looking for this idiom for years.
xyplot(0 ~ 1, sub=as.expression(
bquote(pi==.(pi) ~ e==.(exp(1)))
))
Can you add this idiom to the examples in the ?plotmath page.
And perhaps also to the ?xyplot page
Rich
On Fri, Nov 22, 2013 at 3:14
When I use run this expression
a - 2; b - 3; xyplot(1:10 ~ a*(1:10), sub = c(bquote(a == .(a) ~ b==.(b
the subtitle contains three copies of the a = 2 b = 3 phrase.
Why does it do that? How do I tell it to give me only one copy?
Rich
__
, 2013 9:07 PM
To: r-help
Subject: [R] use of bquote
When I use run this expression
a - 2; b - 3; xyplot(1:10 ~ a*(1:10), sub = c(bquote(a == .(a) ~ b==.(b
the subtitle contains three copies of the a = 2 b = 3 phrase.
Why does it do that? How do I tell it to give me only one copy
On 11/22/13 18:47, William Dunlap wrote:
a - 2; b - 3; xyplot(1:10 ~ a*(1:10), sub = c(bquote(a == .(a) ~ b==.(b
the subtitle contains three copies of the a = 2 b = 3 phrase.
Why does it do that? How do I tell it to give me only one copy?
To avoid it don't wrap bquote() with c(). The
6 matches
Mail list logo