ols_plot_reg_line: Simple linear regression line

Description Usage Arguments Deprecated Function Examples

View source: R/ols-fitted-line-properties.R

Description

Plot to demonstrate that the regression line always passes through mean of the response and predictor variables.

Usage

1
ols_plot_reg_line(response, predictor, print_plot = TRUE)

Arguments

response

Response variable.

predictor

Predictor variable.

print_plot

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

Deprecated Function

ols_reg_line() has been deprecated. Instead use ols_plot_reg_line().

Examples

1

olsrr documentation built on Feb. 10, 2020, 5:07 p.m.