ols_prep_dsrvf_data: Deleted studentized residual plot data

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

ols_prep_dsrvf_dataR Documentation

Deleted studentized residual plot data

Description

Generates data for deleted studentized residual vs fitted plot.

Usage

ols_prep_dsrvf_data(model, threshold = NULL)

Arguments

model

An object of class lm.

threshold

Threshold for detecting outliers. Default is 2.

Examples

model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_prep_dsrvf_data(model)
ols_prep_dsrvf_data(model, threshold = 3)


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