Is this an example of what you want? xlab <- expression(log(-log(hat(R)))) plot(1, xlab=xlab)
Henrik Bengtsson Mathematical Statistics, Lund University, Sweden > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of > [EMAIL PROTECTED] > Sent: den 19 februari 2003 20:26 > To: R Help list > Cc: [EMAIL PROTECTED] > Subject: [R] plotmath > > > There's something (probably a lot) missing in my > understanding of plotmath. The LaTeX code for what I'm trying > to produce is > > \log(-\log(\hat R)) > > My (probably hopeless) attempt at it uses nested group()s: > > expression(plain(log) * group("(", -plain(log)*group("(", > \hat(R), ")"), > ")")) > > Can anyone do it right for me, please? > > Thanks, > Ted. > > Dr E.A. Catchpole > ---------------------------------- > | Associate Professor | > ------------------------------ > | School of Maths & Stats | | Hon Senior > Research Fellow | > | University of New South Wales at | | Institute of > Maths & Stats | > | Australian Defence Force Academy | and | University of > Kent | > | Canberra, ACT 2600, Australia | | Canterbury CT2 > 7NF, England | > | [EMAIL PROTECTED] | | > [EMAIL PROTECTED] | > | www.ma.adfa.edu.au/~eac | > ------------------------------ > | fax: +61 2 6268 8886 | > | ph: +61 2 6268 8895 | > ---------------------------------- > > ______________________________________________ > [EMAIL PROTECTED] mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/> r-help > > ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
