[R] Expression

Gabor Grothendieck ggrothendieck at gmail.com
Thu Nov 30 18:40:31 CET 2006


Try:

plot(1, main = ~ D[obs]^"*")

On 11/30/06, Guenther, Cameron <Cameron.Guenther at myfwc.com> wrote:
> Hi all,
> I have a question about expression.
>
> In a figure I want to include the term D*obs with the star as as
> superscript and obs as subscript.  I have even just tried to get the
> star to be superscript.
>
>
> The code I tried was
> text(Dstar+7,120,expression(paste({}D,^*))), but that doesn't work and I
> get a syntax error.
>
> I can't seem to find anything in the help files that explains it.
>
> Thanks in advance.
>
> Cameron Guenther, Ph.D.
> 100 8th Ave. SE
> St. Petersburg, Fl 33701
> 727-896-8626 ext. 4305
> cameron.guenther at myfwc.com
>
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
>
>



More information about the R-help mailing list