Skip to content
Prev 5761 / 15075 Next

qqline plots outside plot area

I just executed the example in the R graph gallery for qqplot and it  
includes a call to qqline. It plots the line beyond the plotting  
region, unlike the illustration and unlike the behavior of any of the  
other "line" functions in my (limited) experience. the example on the  
help page for qqplot/qqline does the same. It does not appear that I  
have masked qqline with another package version.

y <- rt(200, df = 5)
qqnorm(y); qqline(y, col = 2)