I tried the following method from Outliers for boxplot and it worked well for me:
bar <- boxplot(foo,plot=FALSE)
boxplot(foo,outline=FALSE,ylim=c(min(c(bar$stats,bar$out)),max(c(bar$stats,bar$out))))
points(jitter(rep(1, length(bar$out))), bar$out)
What I need to do is use it with the boxplot parameter horizontal = TRUE. My boxplot does work horizontally but the jittered outliers are absent.
Any suggestions as to how to make this work? Thanks in advance.