Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

resplot

Plot the studentized residuals of a linear regression model


Description

Plot the studentized residuals of a linear regression model.

Usage

resplot(model, index = NULL)

Arguments

model

The model to be plotted.

index

The index of the variable used for for the x-axis.

Examples

require (datasets)
data (trees)
model = LINREG (trees [, -3], trees [, 3])
resplot (model) # Ordered by index
resplot (model, index = 0) # Ordered by variable "Volume" (dependant variable)
resplot (model, index = 1) # Ordered by variable "Girth" (independant variable)
resplot (model, index = 2) # Ordered by variable "Height" (independant variable)

fdm2id

Data Mining and R Programming for Beginners

v0.9.5
GPL-3
Authors
Alexandre Blansché [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.