Learn R Programming

visreg (version 1.0-0)

visreg-package: Visualization of regression functions

Description

visreg provides a number of plotting functions for visualizing fitted regression models: regression functions, confidence bands, partial residuals, interactions, and more.

Arguments

Details

ll{ Package: visreg Type: Package Version: 1.0-0 Date: 2011-08-09 License: GPL-2 LazyLoad: yes } This package allows the use of visreg and visreg2d, both R functions used to visualize regression functions. See the examples below for some basic uses and look in the help pages for each function for a much more detailed look.

References

Breheny, P. and Burchett, W. (2012), Visualizing regression models using visreg. http://web.as.uky.edu/statistics/users/pbreheny/publications/visreg.pdf

See Also

visreg visreg2d

Examples

Run this code
ozone <- airquality[complete.cases(airquality),]

fit <- lm(Ozone ~ Solar.R + Wind + Temp,data=ozone)
visreg(fit,"Wind")
visreg(fit,"Wind",type="effect")

Run the code above in your browser using DataLab