Description Usage Arguments Details Value Author(s)
outliers
Statistics and plots to evaluate influence of outliers.
1 | outliers(x, target, observations)
|
x |
An LM model for evaluation. |
target |
Character string containing the column name of outcome or target variable. |
observations |
Numeric vector of outlier observations |
Regression statistics are computed and plots are rendered with and without each outlier. Regression results with all designated outliers removed are also provided.
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.
John James, jjames@datasciencesalon.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.