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

Description Usage Arguments Author(s) See Also Examples

View source: R/outference.R

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 <[email protected]>

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 Dec. 5, 2017, 3:48 a.m.