Re: [R] display math with subscripts from a sequence

2020-04-18 Thread Duncan Murdoch
On 18/04/2020 3:10 p.m., Ranjan Maitra wrote: Dear friends, I am trying to display a sequence of characters x_1, x_2, ... x_30 on a plot. I know that I can use expression to do this by expression("x"[1]), etc. But, how do I do this efficiently for an entire sequence without having to type the

[R] display math with subscripts from a sequence

2020-04-18 Thread Ranjan Maitra
Dear friends, I am trying to display a sequence of characters x_1, x_2, ... x_30 on a plot. I know that I can use expression to do this by expression("x"[1]), etc. But, how do I do this efficiently for an entire sequence without having to type the individual expressions one by one? Many thank