[R] [lattice] lines for stripplot (like dotplot) or jitter for dotplot?

Michael A. Miller mmiller3 at iupui.edu
Wed Jan 15 22:58:05 CET 2003


>>>>> "Deepayan" == Deepayan Sarkar <deepayan at stat.wisc.edu> writes:

    > In stripplot, try with something like

    >   panel = function(x, y, ...) {
    >       panel.abline(h = unique(as.numeric(y)), col = "grey")
    >       panel.stripplot(x, y, ...)
    >   }

    > (or more generally, with col =
    > trellis.par.get("reference.line")$col etc)

That's it!  Thanks!

Mike

-- 
Michael A. Miller                               mmiller3 at iupui.edu
  Imaging Sciences, Department of Radiology, IU School of Medicine




More information about the R-help mailing list