knitr::opts_chunk$set( collapse = TRUE, message=FALSE, warning=FALSE, comment = "#>" )
In this analysis, we'll develop a model for predicting fuel efficiency from car characteristics using the auto_mpg
data frame.
Model fitting is normally an iterative process. We'll skip this to keep things simple.
library(qacReg) data(auto_mpg) fit <- lm(mpg ~ ., data = auto_mpg) # or # fit <- regress(mpg ~ ., data = auto_mpg)
info(fit)
diagnostics(fit)
forest_plot(fit)
me_plots(fit)
relimp(fit)
performance(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.