0

我对使用 ggdotplot 的 R 中的点图有一些疑问。有几个问题,但我现在想只关注一个:我想将“mean_sd”的填充颜色和形状更改为黄色,并更改为与点形成对比的菱形。add.params = list(color='"black", fill="yellow", shape = 18, size=1) 不起作用。我在网上搜索了示例,但找不到任何示例。这是最小的示例。

library(ggplot2)
library(dunn.test)
library(conover.test)
library(ggsignif)
library(tidyverse)
library(ggpubr)
library(rstatix)
library(DescTools)

data("ToothGrowth")
df <- ToothGrowth

ggdotplot(data, x = "dose", y = "len", fill = "supp", add = "mean_sd", 
add.params = list(fill="yellow", shape=1, size=1))

列出的包与我的其余代码一起使用。

谢谢!

4

0 回答 0