Re: [R] Grouping variables in a data frame

2011-08-27 Thread Liviu Andronic
On Sat, Aug 27, 2011 at 7:26 AM, Andra Isan wrote: > Hi All, > > I have a data frame as follow: > > user_id time age location gender > . > > and I learn a logistic regression to learn the weights (glm with family= > (link = logit))), my response value is either zero or one. I would like to >

[R] Grouping variables in a data frame

2011-08-26 Thread Andra Isan
Hi All, I have a data frame as follow: user_id time age location gender . and I learn a logistic regression to learn the weights (glm with family= (link = logit))), my response value is either zero or one. I would like to group the users based on user_id and time and see the y values and