Functions available for Tufte boxplots in R?

后端 未结 5 767
感动是毒
感动是毒 2020-12-08 05:27

I have some data that I\'ve divided into enough groupings that standard boxplots look very crowded. Tufte has his own boxplots in which you basically drop all or half of bo

5条回答
  •  醉话见心
    2020-12-08 05:56

    Here's my very kludgy function for this. Unfortunately, while it references a panel.tuftebox, I wrote this code in my first few months of learning R for a very specific purpose (and therefore, sadly, with no intent to generalize it), and therefore it never got written as a separate panel function.

    library(lattice)
    library(taRifx)
    compareplot(~weight | Diet * Time * Chick, 
      data.frame=cw , 
      main = "Chick Weights",
      box.show.mean=FALSE,
      box.show.whiskers=FALSE,
      box.show.box=FALSE
      )
    

    compareplot

提交回复
热议问题