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

Re: [R] Changes to stats::glm function between R versions 3.4.0 and 3.5.1

2020-04-18 Thread Martin Maechler
> Purver, Mark > on Thu, 16 Apr 2020 10:02:09 + writes: > Hi all, > Does anyone know whether there was a change to the algorithm of the glm function between versions 3.4.0 and 3.5.1 of the stats package? I noticed the introduction of the 'singular.ok' option, but I'm see

Re: [R] Multi response GAM

2020-04-18 Thread Highland Statistics Ltd
Try R-INLA. It will allow you to model all three diet class time series in one model (even allowing for different distributions if required). And you can also include correlation between the time series. And test whether those diet classes have the same trend or not. Alain --