Re: [R] fitting a glm with matrix of responses

2009-11-11 Thread David Winsemius
On Nov 11, 2009, at 2:24 PM, Murat Tasan wrote: hi all - quick question: i have a matrix 'y' of response values, with two explanatory variables 'x1' and 'x2'. tested values of 'x1' and 'x2' are sitting in two vectors 'x1' and 'x2'. i want to learn model parameters without "unrolling" the matri

[R] fitting a glm with matrix of responses

2009-11-11 Thread Murat Tasan
hi all - quick question: i have a matrix 'y' of response values, with two explanatory variables 'x1' and 'x2'. tested values of 'x1' and 'x2' are sitting in two vectors 'x1' and 'x2'. i want to learn model parameters without "unrolling" the matrix of response values. example below: # some fake da