you can do this with "expression()" as in
plot(1:2,1:2,main=expression(x[k[j]]))
see ?plotmath for some more possibilities of formating mathematical
expressions.
hth.
Jos? Alberto Monteiro schrieb:> I am tryindo to do a very simple thing but cannont find how to do it
> anywhere. I need to formap part of my title as subscript ans superscript.
> How can I do it?
> Thanks a lot in advance
> Jos?
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help at 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.
>
--
Eik Vettorazzi
Institut f?r Medizinische Biometrie und Epidemiologie
Universit?tsklinikum Hamburg-Eppendorf
Martinistr. 52
20246 Hamburg
T ++49/40/42803-8243
F ++49/40/42803-7790