rpp.glm {asuR}R Documentation

Partial Residual Plots

Description

Plots the partial residuals of a glm-model versus each predictor

Usage

## S3 method for class 'glm':
rpp(mymodel, id=c("all", "none"), ...)

Arguments

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

Details

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

Value

A plot and a vector with the row index of the identified values in the original data.

Author(s)

thomas.fabbro@unibas.ch

See Also

inspect

Examples

#

[Package asuR version 0.08-24 Index]