[R] exrpression(), double subscript

Afshartous, David DAfshartous at med.miami.edu
Fri May 23 23:43:04 CEST 2008


All,
 
The first use of expression produces a double subscript while the second does not.
I searched in ?plotmath and the archives and didn't find anything.  I'm sure I'm missing
something obvious but can't seem to find.  any suggestions much appreciated.
 
Cheers,
David
 
 
plot(1:10, 1:10)
text(par("usr")[1] - .5, 5, adj = 1, labels = expression(hat(b)[11]), xpd = TRUE)
text(par("usr")[1] - .5, 5, adj = 1, labels = expression(hat(b)[0i]), xpd = TRUE)


More information about the R-help mailing list