我正在try 更改gg_misse_var中每个方面的线条 colored颜色 .
例如,使用空气质量数据
#Load data
data("airquality")
#Load libraries
library(ggplot2)
#Create missing data plot using gg plot
gg_miss_var(airquality, Month, show_pct = TRUE) + ylim(0, 100) +
theme(
panel.background = element_rect(fill = "white"),
panel.border = element_blank()) +
scale_fill_manual(
values = c("forestgreen", "pink", "blue","yellow","red"))
但这不会改变 colored颜色 ,有什么 idea 吗?