Skip to content
Prev 7444 / 12125 Next

[R-pkg-devel] [External] Formula modeling

On Fri, 8 Oct 2021, pikappa.devel at gmail.com wrote:

            
xyplot() and glm(), this is a bit hard to parse visually. One could 
imagine making a mistake that s corresponds to x, rather than p+w+y.

I wonder if there is a way to write something along the lines of

~c( d~p+x+y,
     s~p+w+y,
     p~z+y |subject | time
    )

A quick experiment with R shows that this is treated like a formula, so ~c 
becomes a way to group formulas.

best

Vladimir Dergachev