Martin Keller-Ressel wrote:
> Thanks to Bettina, Dimitris and Gavin for their help.
> All their solutions work nicely.
> For future reference, here are three ways to draw a percent sign in R
> plots:
>
> plot(0:10, 0:10, type = "n")
> text(5,7,expression(paste(alpha == 5, "%", sep = "")))
> text(
Thanks to Bettina, Dimitris and Gavin for their help.
All their solutions work nicely.
For future reference, here are three ways to draw a percent sign in R
plots:
plot(0:10, 0:10, type = "n")
text(5,7,expression(paste(alpha == 5, "%", sep = "")))
text(5, 5, expression(paste(alpha, " = 5%")))
te
On Wed, 2007-01-17 at 09:57 +, Martin Keller-Ressel wrote:
> Hello,
>
> I would like to annotate a graph with the expression 'alpha = 5%' (the
> alpha should be displayed as the greek letter).
> I tried
>
> > text(1,1,expression(alpha == 5%))
>
> which gives a syntax error.
> escaping the
On Wed, Jan 17, 2007 at 09:57:49AM -, Martin Keller-Ressel wrote:
> I would like to annotate a graph with the expression 'alpha = 5%' (the
> alpha should be displayed as the greek letter).
> I tried
>
> > text(1,1,expression(alpha == 5%))
text(1,1, expression(paste(alpha == 5, '%')) )
cu
)16/337015
Web: http://med.kuleuven.be/biostat/
http://www.student.kuleuven.be/~m0390867/dimitris.htm
- Original Message -
From: "Martin Keller-Ressel" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 17, 2007 10:57 AM
Subject: [R] percent sign in plot annotation
Martin Keller-Ressel wrote:
> Hello,
>
> I would like to annotate a graph with the expression 'alpha = 5%' (the
> alpha should be displayed as the greek letter).
> I tried
>
>> text(1,1,expression(alpha == 5%))
Try
text(1,1,expression(alpha == 5*"%"))
Best,
Bettina
__
Hello,
I would like to annotate a graph with the expression 'alpha = 5%' (the
alpha should be displayed as the greek letter).
I tried
> text(1,1,expression(alpha == 5%))
which gives a syntax error.
escaping the percent sign (\%) or doubling (%%) does not help.
What do I do?
Thanks,
Martin Ke