plot.outference: Plot the outlying measure from an '"outference"' object

Description Usage Arguments Author(s) See Also Examples

Description

This function plots the Cook's distance, or DFFITS, or the estimated outlying coefficients, as well as the cutoff based on the outlier detection method.

Usage

1
2
## S3 method for class 'outference'
plot(x, ...)

Arguments

x,

an object of class "outference".

...,

other arguments.

Author(s)

Shuxiao Chen <sc2667@cornell.edu>

See Also

outference for model fitting;

summary.outference for summaries;

coef.outference for extracting coefficients;

confint.outference for confidence intervals of regression coefficients;

predict.outference for making predictions.

Examples

1
2
3
4
5
6
## Brownlee’s Stack Loss Plant Data
data("stackloss")
## fit the model
## detect outlier using Cook's distance with cutoff = 4
fit <- outference(stack.loss ~ ., data = stackloss, method = "cook", cutoff = 4)
plot(fit)             # plot the Cook's distance of each observation

shuxiaoc/outference documentation built on July 8, 2019, 8:30 p.m.