Learn R Programming

visreg (version 2.7.0)

visreg-package: Visualization of regression models

Description

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

Arguments

Details

This package allows the use of visreg and visreg2d, functions for visualizing regression models. See example below for the most basic use, and the help pages for each function for details. Also see the cited manuscript for additional details. If you have a question or feature request, please e-mail me at <patrick-breheny@uiowa.edu>.

References

See Also

visreg visreg2d visreg-faq

Examples

Run this code
# NOT RUN {
fit <- lm(Ozone ~ Solar.R + Wind + Temp, data=airquality)
visreg(fit, "Wind")
# }

Run the code above in your browser using DataLab