[R] errors using step function

2008-07-18 Thread silvia narduzzi
Dear R users, I have had a problem using the "step" function for the selection of the variables from a gamma model with log link function. CODE: step.glm.gam1.infroma <- step(glm.gam1.infroma, direction = "backward", k=2) ERROR MESSAGE: Error in glm.fit(x[, jj, drop = FALSE], y, wt, offset = obj

[R] errors using step function

2008-07-17 Thread silvia narduzzi
Dear R users, I have had a problem using the "step" function for the selection of the variables from a gamma model with log link function. CODE: step.glm.gam1.infroma <- step(glm.gam1.infroma, direction = "backward", k=2) ERROR MESSAGE: Error in glm.fit(x[, jj, drop = FALSE], y, wt, offset = obj