Re: [R] Superscripts and subscripts in trellis graphics

2009-05-18 Thread Steve_Friedman
s.gov cc 05/18/2009 10:45 r-help@r-project.org AM ASTSubject Re: [R] Superscripts and subsc

Re: [R] Superscripts and subscripts in trellis graphics

2009-05-18 Thread Simon Pickett
ubject: [R] Superscripts and subscripts in trellis graphics I'd like to annotate an xyplot with an R^2 value, but can not find the syntax to define the superscript format for the text. I'd appreciate suggestions, xyplot(SharkSloughEggs.df$Sharkeggs.rel + SharkSloughEggs

Re: [R] Superscripts and subscripts in trellis graphics

2009-05-18 Thread Gabor Grothendieck
Try: R2 <- -0.18 panel.text(label = bquote(R^2 == .(R2)), ... On Mon, May 18, 2009 at 10:25 AM, wrote: > > I'd like to annotate an xyplot with an R^2 value, but can not find the > syntax to define the superscript format for the text. > > I'd appreciate suggestions, > > xyplot(SharkSloughEggs.d

[R] Superscripts and subscripts in trellis graphics

2009-05-18 Thread Steve_Friedman
I'd like to annotate an xyplot with an R^2 value, but can not find the syntax to define the superscript format for the text. I'd appreciate suggestions, xyplot(SharkSloughEggs.df$Sharkeggs.rel + SharkSloughEggs.df$SharkHatched.rel + SharkSloughEggs.df$SharkFlooded.rel + HSI.shark$MEAN ~ Year,