Instead of R's own boxplot()
the outliers are missing when using gap.boxplot()
from the plotrix
package. I try to understand why.
See this example please:
> mtcars[2,c('mpg')] <- 45
> mtcars[6,c('mpg')] <- 77
Using boxplot(mtcars$mpg)
you can see two extra dots (the outliers) on top of the boxplot.
Using gap.boxplot(mtcars$mpg)
from plotrix
package result in that graphic
The big question is why and how to solve this?