Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/bash/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 条件色标_R_Ggplot2 - Fatal编程技术网

R 条件色标

R 条件色标,r,ggplot2,R,Ggplot2,我正在绘制一些密度图,其中填充以值(0.05)为条件 库(plyr) 图书馆(GG2) allNorm添加到两个绘图scale\u fill\u manual() + scale_fill_manual(values=c("FALSE"="red","TRUE"="blue")) 太棒了-我已经拿到了刻度填充手册(数值=c(“红色”、“蓝色”))。不知道你可以加上真假。非常感谢你。 + scale_fill_manual(values=c("FALSE"="red","TRUE"="blue"

我正在绘制一些密度图,其中填充以值(0.05)为条件

库(plyr)
图书馆(GG2)

allNorm添加到两个绘图
scale\u fill\u manual()

+ scale_fill_manual(values=c("FALSE"="red","TRUE"="blue"))

太棒了-我已经拿到了刻度填充手册(数值=c(“红色”、“蓝色”))。不知道你可以加上真假。非常感谢你。
+ scale_fill_manual(values=c("FALSE"="red","TRUE"="blue"))