Re: [Rd] y ~ X -1 , X a matrix

2010-03-18 Thread Peter Dalgaard
Ross Boylan wrote: On Thu, 2010-03-18 at 00:57 +, ted.hard...@manchester.ac.uk wrote: On 17-Mar-10 23:32:41, Ross Boylan wrote: While browsing some code I discovered a call to lm that used a formula y ~ X - 1, where X was a matrix. Looking through the documentation of formula, lm,

Re: [Rd] y ~ X -1 , X a matrix

2010-03-17 Thread Ted Harding
On 17-Mar-10 23:32:41, Ross Boylan wrote: While browsing some code I discovered a call to lm that used a formula y ~ X - 1, where X was a matrix. Looking through the documentation of formula, lm, model.matrix and maybe some others I couldn't find this useage (R 2.10.1). Is it anything I can

Re: [Rd] y ~ X -1 , X a matrix

2010-03-17 Thread Ross Boylan
On Thu, 2010-03-18 at 00:57 +, ted.hard...@manchester.ac.uk wrote: On 17-Mar-10 23:32:41, Ross Boylan wrote: While browsing some code I discovered a call to lm that used a formula y ~ X - 1, where X was a matrix. Looking through the documentation of formula, lm, model.matrix and

Re: [Rd] y ~ X -1 , X a matrix

2010-03-17 Thread Dirk Eddelbuettel
On 17 March 2010 at 16:32, Ross Boylan wrote: | While browsing some code I discovered a call to lm that used a formula y | ~ X - 1, where X was a matrix. | | Looking through the documentation of formula, lm, model.matrix and maybe | some others I couldn't find this useage (R 2.10.1). Is it