Skip to content
Prev 274593 / 398506 Next

Suppressing the Intercept in lm() when using a dataframe for the model

On Oct 16, 2011, at 3:55 PM, Cliff Clive wrote:

            
Something along the lines of:
lm(y ~ . -1, data=dfrm)

But you do need to offer specific examples to get specific answers.  
(Hence the usual advice to read the Posting Guide.)