lep.glm {asuR} | R Documentation |
A plot to check the link assumption in a generalized linear model.
## S3 method for class 'glm': lep(mymodel, id = c("all", "none"), ...)
mymodel |
an object of class glm , usually, a result of a
call to the function glm . |
id |
a character string or numeric value; in which panel should it be possible to interactively identify points |
... |
further arguments |
after violations of simpler model assumptions have been eliminated.
***Question:
Is the relationship linear? otherwise
1. change the link function
A plot and a vector with identified values (corresponding to the row number in the original data).
#