[R] double subscripts with Greek letter

Jeff Shane zuofengshang at gmail.com
Mon Jan 2 22:24:53 CET 2017


Thanks, Bill! Yes, your code works well.


On 2017/1/1 23:17, William Dunlap wrote:
> Does the following do well enough?
>    plot(1,1);title(expression(A[paste(alpha,",",beta)]))
>
>
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com <http://tibco.com>
>
> On Sun, Jan 1, 2017 at 11:22 AM, 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.
>
>


	[[alternative HTML version deleted]]



More information about the R-help mailing list