rpp.glm {asuR} | R Documentation |
Plots the partial residuals of a glm-model versus each predictor
## S3 method for class 'glm': rpp(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; not yet available |
... |
further arguments |
A partial residual plot allows to study the effect of a focal predictor and taking the other predictors into account. This helps to find an appropriate transformation for the focal predictor.
***expected pattern:
linear scatter of points along the regression line
***Question:
Is the relationship linear? otherwise:
1. change the transformations of the predictor
A plot and a vector with the row index of the identified values in the original data.
#