Reputation: 1
How to remove the line at the bottom? (the regression formula) & How to remove the "cook distance" title?
cutoff=4/((nrow(forR_v3)-length(linear1$coefficients)-2))
plot(linear1,which=4,cook.levels=cutoff, title=" ", main=NULL, sub=NULL,
axes=FALSE, ann=FALSE)
axis(1)
axis(2)
Upvotes: 0
Views: 457
Reputation: 7153
fit <- lm(Petal.Length ~ Sepal.Length, iris)
plot(fit,which=4, caption="", sub.caption="", cook.levels=4/150, ann=FALSE, bty="n")
Upvotes: 1