我正在使用此代码ggbarplot(cell_tidy,"label","n",fill = "groups",color = "label",position = position_dodge(),add = "mean_se",palette = c("white","royalblue4"))+theme_classic2()
我得到了这个:enter image description here
我只想根据标签更改调色板,我尝试过color_palette
,但收到此错误Error in !is.null(facet.by) | combine :
operations are possible only for numeric,logical or complex types
提前感谢您的帮助!