To follow along and run any tutorials or examples, you will need the following:
A recent version of R, download from here.
A recent version of RStudio, download from here.
The following R packages are used:
arm, broom, candisc, car, corrgram, dplyr, effects, ggplot2, glue,
heplots, knitr, learnr, MASS, modelsummary, mvinfluence, palmerpenguins,
stargazer, rgl, tidyverse, visreg
You can install all required R packages at once by running the script install-vismlm-pkgs.r. Alternativelty, use the following code in the R Studio console or from an editor window.
pkgs <- c("arm", "broom", "candisc", "car", "corrgram", "dplyr", "effects", "ggplot2",
"glue", "heplots", "knitr", "learnr", "MASS", "modelsummary",
"mvinfluence", "palmerpenguins", "stargazer", "rgl", "rpart", "rpart.plot",
"tidyverse", "visreg")
# install the above, along with any dependencies
install.packages(pkgs, dependencies=TRUE)
Lab exercise:
Visualizing regression models: duncan-reg.html || duncan-reg.R
Examples:
heplots
package documentation, http://friendly.github.io/heplots/Copyright © 2020 Michael Friendly. All rights reserved.
friendly AT yorku DOT ca