Learn R Programming

olsrr (version 0.5.3)

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.

Deprecated Function

ols_resp_viz() has been deprecated. Instead use ols_plot_response().

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