outliers: outliers

Description Usage Arguments Details Value Author(s)

View source: R/outliers.R

Description

outliers Statistics and plots to evaluate influence of outliers.

Usage

1
outliers(x, target, observations)

Arguments

x

An LM model for evaluation.

target

Character string containing the column name of outcome or target variable.

observations

Numeric vector of outlier observations

Details

Regression statistics are computed and plots are rendered with and without each outlier. Regression results with all designated outliers removed are also provided.

Value

List containing two objects. The first is a dataframe containing a summary of the adjusted R2 performance with and without each of the designated observations. The second object is list containing the observation number, the LM object with the observation removed and the regression statistics for the lm objects.

Author(s)

John James, jjames@datasciencesalon.org


DataScienceSalon/analyzR documentation built on May 7, 2019, 7:40 a.m.