Re: [Rd] Model formulas with explicit references

2018-07-22 Thread Lenth, Russell V
Chuck, Thanks for your response. I am impressed to find out how to get 'newdata' to work with a model like this. I couldn't have figured that out from the documentation. The context is trying to write code for my emmeans package that supports whatever model the user gives it, even ones like my

Re: [Rd] Model formulas with explicit references

2018-07-21 Thread Berry, Charles
> On Jul 20, 2018, at 3:05 PM, Lenth, Russell V wrote: > > Dear R-Devel, > > I seem to no longer be able to access the bug-reporting system, so am doing > this by e-mail. > > My report concerns models where variables are explicitly referenced (or is it > "dereferenced"?), such as: > >

[Rd] Model formulas with explicit references

2018-07-20 Thread Lenth, Russell V
Dear R-Devel, I seem to no longer be able to access the bug-reporting system, so am doing this by e-mail. My report concerns models where variables are explicitly referenced (or is it "dereferenced"?), such as: cars.lm <- lm(mtcars[[1]] ~ factor(mtcars$cyl) + mtcars[["disp"]]) I have foun