create a boxplot in R that labels a box with the sample size (N)

后端 未结 5 999
囚心锁ツ
囚心锁ツ 2021-02-01 22:05

Is there a way to create a boxplot in R that will display with the box (somewhere) an \"N=(sample size)\"? The varwidth logical adjusts the width of the box on the basis of sam

5条回答
  •  滥情空心
    2021-02-01 22:52

    The gplots package provides boxplot.n, which according to the documentation produces a boxplot annotated with the number of observations.

提交回复
热议问题