I'm creating a bwplot{lattice} and I would like it not to display the outliers. Here is example code:
m <- mtcars
m$gear <- factor(m$gear)
m$vs <- factor(m$vs)
m$am <- factor(m$am)
bwplot(drat ~ gear | am + vs,
data = m)
Just set do.out=FALSE
, like this:
bwplot(drat ~ gear | am + vs, data = m, do.out = FALSE)
Pro tip: as is often the case with lattice plotting functions, that argument is documented in ?panel.bwplot
(the function to which bwplot()
passes it on) rather than in the already-way-too-long-to-be-readable ?bwplot
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With