【发布时间】:2016-08-09 15:40:15
【问题描述】:
boxplot the data of the y-axis of a scatter plot using matlab
我想像上面的问题一样创建图:使用 y 轴作为箱形图的定量比例,而 x 轴是另一个定量值。我如何在 R 中执行此操作,或者最好在 ggplot2 中执行此操作?
【问题讨论】:
-
一个可重复的例子可能会有所帮助:stackoverflow.com/questions/5963269/…
-
你试过什么?
with(mtcars, qplot(x = cyl, y = hp, group = cyl, geom = 'boxplot'))似乎工作得很好
标签: r ggplot2 scatter-plot boxplot