ols_prep_srchart_data: Standardized residual chart data

View source: R/ols-plots-data.R

ols_prep_srchart_dataR Documentation

Standardized residual chart data

Description

Generates data for standardized residual chart.

Usage

ols_prep_srchart_data(model, threshold = NULL)

Arguments

model

An object of class lm.

threshold

Threshold for detecting outliers. Default is 2.

Examples

model <- lm(read ~ write + math + science, data = hsb)
ols_prep_srchart_data(model)
ols_prep_srchart_data(model, threshold = 3)


olsrr documentation built on May 29, 2024, 12:35 p.m.