pc和max到一个带有一个变量的ggplot中的boxplot。出于示例的目的,我将描述mtcars数据集的问题。我看到了另一个带有类似问题的帖子:annotate boxplot in ggplot2和我试图复制用户eipi10的答案。但是这个过程只有一个变量失败了。分位数函数以某种方式给出了其他输出。它显示了图中变量中每个数据点的值。text", fun = quantile,
aes(label = ..x.., y = 0.1), size
我正在寻找一种方法,可以在ggplot2中更改变量的显示名称,而不需要注意该变量的使用位置。我最好用代码来说明我的问题:print(ggplot(mpg, aes(x = year,so I need to check where I use hwy,
# find the corresponding label/guide/..., an