rdplot: Residual dependency plot

Description Usage Arguments Value Author(s) References Examples

View source: R/rdplot.R

Description

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

Usage

1
rdplot(x, res, f = 0.8)

Arguments

x

input variable

res

residuals

f

smoothing parameter for loess

Value

plot produced as a side-effect

Author(s)

A.I. McLeod

References

W.S. Cleveland, Visualizing Data.

Examples

1
2
3
x <- runif(50, 0, 50)
res <- rnorm(50)
rdplot(x, res)

Example output



hcc documentation built on May 2, 2019, 2:08 a.m.