I have added most of the test cases as discussed in #499.
Also, I have changed the residuals function for lm. Now the residuals function for lm is similar to residuals function in 'glm'.
Although, I am not sure about applicability of :working type residuals in lm. R supports :working type residuals in lm and which is same as :response type.
I have added most of the test cases as discussed in #499.
Also, I have changed the residuals function for
lm
. Now the residuals function forlm
is similar to residuals function in 'glm'. Although, I am not sure about applicability of:working
type residuals inlm
.R
supports:working
type residuals inlm
and which is same as:response
type.