Re: [R] glm problem

2009-02-15 Thread Uwe Ligges
Roger wrote: Thanks for the reply, that was a typo only in the post. as i was trying to remove some 'sensitive names'. In my real work, i made sure that 1) this command runs without problem qdata.glm = glm(X258 ~ ., family = binomial, data = qdata[ sample(dim(qdata)[1], 1000), ] ) 2) thes

Re: [R] glm problem

2009-02-15 Thread Roger
Thanks for the reply, that was a typo only in the post. as i was trying to remove some 'sensitive names'. In my real work, i made sure that 1) this command runs without problem qdata.glm = glm(X258 ~ ., family = binomial, data = qdata[ sample(dim(qdata)[1], 1000), ] ) 2) these two gave a warn

Re: [R] glm problem

2009-02-14 Thread Duncan Murdoch
On 13/02/2009 11:59 PM, Roger wrote: Hello, I have a weird problem here. What I want to do is that I need to draw 1000 samples from a matrix, and use glm on them. when I used this command, it runs without the problem qdata.glm = glm(X258 ~ ., family = binomial, data = q2data[sample(dim(q2dat