lep.glm {asuR}R Documentation

linearized response vs. linear predictor (eta) plot

Description

A plot to check the link assumption in a generalized linear model.

Usage

## S3 method for class 'glm':
lep(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
... further arguments

Details

after violations of simpler model assumptions have been eliminated.

***Question:
Is the relationship linear? otherwise
1. change the link function

Value

A plot and a vector with identified values (corresponding to the row number in the original data).

Author(s)

thomas.fabbro@unibas.ch

See Also

inspect

Examples

#

[Package asuR version 0.08-24 Index]