diff --git a/episodes/25-linreg-diagnostics.Rmd b/episodes/25-linreg-diagnostics.Rmd index bb1663453..df830e845 100644 --- a/episodes/25-linreg-diagnostics.Rmd +++ b/episodes/25-linreg-diagnostics.Rmd @@ -144,7 +144,7 @@ If no points are identified, nothing is returned. Influence points can be further explored with an Influence Index Plot which provides index plots of influence and related diagnostics for a regression model. ```{r} -influenceIndexPlot(model1, id.n = 3) +influenceIndexPlot(model1) ``` If an observation is influential then that observation can change the fit of the linear model.