[R] double subscripts with Greek letter
Jeff Shane
zuofengshang at gmail.com
Mon Jan 2 22:24:20 CET 2017
Thanks, Erin! This works well.
On 2017/1/1 22:37, Erin Hodgess wrote:
> Hello!
>
> Here is a solution:
>
> > plot(1:10)
> > xa <- expression(A[list(alpha,beta)])
> > title(xa)
>
>
>
> On Sun, Jan 1, 2017 at 1:22 PM, Jeff Shane <honolulushane at gmail.com
> <mailto:honolulushane at gmail.com>> wrote:
>
> Hi all,
>
> I have a question which seems trivial but simply cannot figure out its
> solution.
>
> I want to type A_{\alpha,\beta} in the title of a plot. Uwe once
> pointed
> out a solution
>
> expression(A[alpha*beta])
>
> But the output of the above command does not include the "," in the
> subscript. Is there a way to solve my question? Thanks so much!
>
> Regards,
> Jeff
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org <mailto:R-help at r-project.org> mailing list --
> To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> <https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
>
> --
> Erin Hodgess
> Associate Professor
> Department of Mathematical and Statistics
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com <mailto:erinm.hodgess at gmail.com>
[[alternative HTML version deleted]]
More information about the R-help
mailing list