Learn R Programming

olsrr (version 0.6.0)

ols_plot_response: Response variable profile

Description

Panel of plots to explore and visualize the response variable.

Usage

ols_plot_response(model, print_plot = TRUE)

Arguments

model

An object of class lm.

print_plot

logical; if TRUE, prints the plot else returns a plot object.

Examples

Run this code
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_response(model)

Run the code above in your browser using DataLab