ggpubr - gg_boxplot 中的彩色点,没有分隔框
问题描述
这可能是基本的,但我被卡住了。
使用 ggpubr,我想按颜色指示分组,但不希望根据颜色指示的组仅通过 x 变量的分组来制作框。
谢谢您的帮助!
library(tidyverse)
library(ggpubr)
dings <- tribble(
~a,~b,~c,
1,"one","b",
2,"one","a",
5,"two","b",
1,"two","b",
2,"three","a",
5,"three","b",
1,"one","b",
2,"one","a",
6,"two","b",
1.5,"two","b",
3.5,"three","a",
4,"three","b"
)
ggboxplot(dings,
x="b", y="a",color = "c",add = "jitter")
解决方案
推荐阅读
- raku - Perl 6:maxpairs 警告未定义值的字符串化
- java - 为什么 doGet 不运行 processRequest?
- java - Spring Boot - 如何从多模块项目中的姊妹模块启动我的 Spring Boot 应用程序?
- c# - 文本框自动完成 C#
- c - 如何在 linux 内核模块中获取下一个 TCP 段?
- haskell - Haskell中递归数组的内存使用情况
- git - Intellij 无法记住我的 git 凭据
- c# - C#如何在2个.cs文件之间返回一个值
- android - 如何在sqlite中存储语法
- oracle - ORA-01219 - “数据库或可插入数据库未打开:仅允许对固定表或视图进行查询”