thanks Uwe, I wanted the first thing you mentioned so that solves it.
-----Original Message----- From: Uwe Ligges [mailto:[EMAIL PROTECTED] Sent: Sat 5/24/2008 10:42 AM To: Afshartous, David Cc: r-help@r-project.org Subject: Re: [R] exrpression(), double subscript Afshartous, David wrote: > 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)[0*i]), xpd = > TRUE) If you want "0i" as subscript, use expression(hat(b)[0*i]) (0i is complex and represented by 0+0i afterwards) Or does "double" mean you want i as subscript of 0? Then just try expression(hat(b)[0[i]]) Uwe Ligges > > ------------------------------------------------------------------------ > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.