I am using expression() to incorporate text into graphics. To create a superscript, I use the '^' character. Can someone please tell me the character to use to create a subscript? Thank you ----------------------------------------------------- Christine Donnelly Statistical Consulting Unit The Graduate School John Dedman Mathematical Sciences Building (Bldg 27) Australian National University Canberra ACT 0200 room: G8 phone: (02) 6125 0562 fax: (02) 6125 5549 email: Christine.Donnelly at anu.edu.au ANU CRICOS # 00120C -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Christine Donnelly wrote:> I am using expression() to incorporate text into graphics. Tocreate> a superscript, I use the '^' character. Can someone please tell me > the character to use to create a subscript? > > Thank you > ----------------------------------------------------- > Christine DonnellyTake a look at ?plotmath I believe you will find that 'x[i]' will yield x subscript i. HTH, Marc -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dear Christine, You can use square brackets, as in expression(x[i]). See ?plotmath for details and examples. I hope that this helps, John At 12:31 PM 11/28/2002 +1100, Christine Donnelly wrote:>I am using expression() to incorporate text into graphics. To create a >superscript, I use the '^' character. Can someone please tell me the >character to use to create a subscript?----------------------------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: jfox at mcmaster.ca phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox ----------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello,
how can I create several lists, whose names are composed of "Lst" and
the
number "i" of the loop (Lst1, Lst2... Lst3000)? Thank you for your
help.
--------------------------------------------------------------------
Katharina Niesel
EAWAG Duebendorf
Ingenieurwissenschaften / ING
Geb?ude CB B?ro D33
Ueberlandstrasse 133
CH-8600 Duebendorf
01 823 5048 (G)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
HI,
You are using strange subject lines.
| Date: Thu, 28 Nov 2002 12:10:51 +0100
| From: Niesel Katharina <katharina.niesel at eawag.ch>
|
| Hello,
| how can I create several lists, whose names are composed of "Lst"
and the
| number "i" of the loop (Lst1, Lst2... Lst3000)? Thank you for your
help.
You should do either something like
assign(paste("Lst", i, sep=""), value)
or rather use a list of the lists:
Lst <- vector("list", 3000)
Lst[i] <- value
Perhaps it helps.
Ott
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._