Learn R Programming

hcc (version 0.54)

rdplot: Residual dependency plot

Description

Plots the residuals vs an input variable. The loess smoother is shown.

Usage

rdplot(x, res, f = 0.8)

Arguments

x
input variable
res
residuals
f
smoothing parameter for loess

Value

References

W.S. Cleveland, Visualizing Data.

Examples

Run this code
x <- runif(50, 0, 50)
res <- rnorm(50)
rdplot(x, res)

Run the code above in your browser using DataLab