Re: [R] GLM Modelling help needed

2013-01-14 Thread Oliver Keyes
So, with R you use object[int,int] to select the rows and columns you want to highlight. ([rows,columns]); what you've done here is asked it to apply to rows 1 to 2 (1:2), across all columns. You'll want [,3:4] to specify two particular columns. I'm not familiar enough with glm itself to provide an

[R] GLM Modelling help needed

2013-01-13 Thread bhatmb
Hi Everyone, I am new to R and am figuring my way around it. I am trying to determine the relationship between A &B, for each week of the year. My dataset looks like: YearWeekA B 19821 11.3 198.53 19822 14.4309.00 19823 23.2