ols_prep_srplot_data: Studentized residual plot data

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

ols_prep_srplot_dataR Documentation

Studentized residual plot data

Description

Generates data for studentized residual plot.

Usage

ols_prep_srplot_data(model, threshold = NULL)

Arguments

model

An object of class lm.

threshold

Threshold for detecting outliers. Default is 3.

Examples

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


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