This function extracts the estimated regression coefficients from an
an object of class
This function returns the desired vector of regression coefficients.
Shuxiao Chen <[email protected]>
outference for model fitting;
summary.outference for summaries;
confint.outference for confidence intervals of regression coefficients;
plot.outference for plotting the outlying measure;
predict.outference for making predictions.
1 2 3 4 5 6 7
## 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) coef(fit, model = "original") # the coefficients from the fit using all the data coef(fit, model = "removed") # the coefficients from the fit after outlier removal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.