[R] Asteriscs in a plot to represent approximate size of p-values

Ben Bolker bolker at ufl.edu
Sat Jun 23 15:12:07 CEST 2007


Judith Flores <juryef <at> yahoo.com> writes:

> 
> Hi,
> 
>    I need to place double and triple asterics (or
> stars) to highlight very low p-values. I am using
> points, for example:
> 
> points(ssdx,ssdy,pch=8,cex=.9)
> 
>    but this allows me to place only one asterisc, how
> can I place 2 or 3 asteriscs?
> 
> Thank you,
> 
> Judith
> 

   How about 
text(ssdx,ssdy,"***",cex=0.9)  ?
or 

text(ssdx,ssdy,rep("*",2,sep=""))
or 

x.eps = 0.01
points(ssdx+(0:1)*x.eps,rep(ssdy,2),pch=8,cex=0.9)

?



More information about the R-help mailing list