Description Details Author(s) References See Also Examples
visreg
provides a number of plotting functions for
visualizing fitted regression models: regression functions, confidence
bands, partial residuals, interactions, and more.
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>.
Patrick Breheny and Woodrow Burchett
Maintainer: Patrick Breheny <patrick-breheny@uiowa.edu>
Breheny, P. and Burchett, W. (2017), Visualizing regression models using visreg. https://journal.r-project.org/archive/2017/RJ-2017-046/index.html
1 2 | fit <- lm(Ozone ~ Solar.R + Wind + Temp, data=airquality)
visreg(fit, "Wind")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.