Judith Flores
2007-Jun-22 21:38 UTC
[R] Asteriscs in a plot to represent approximate size of p-values
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 ____________________________________________________________________________________ Food fight? Enjoy some healthy debate
Ben Bolker
2007-Jun-23 13:12 UTC
[R] Asteriscs in a plot to represent approximate size of p-values
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) ?