Browsing index pages (2 articles)
↧
Make all positive value bar graph the same color theme as bar graph with...
I just started playing with ggplot yesterday. My code for the bar graph with negative values work as I have expected:dtf1 <- data.frame(ID = c(1:10),Diff = c(-5:4))dtf1$colour <- ifelse(dtf1$Diff...
View ArticleAnswer by jlhoward for Make all positive value bar graph the same color theme...
Aesthetics don't work that way in ggplot. $colour is treated as a factor with two levels, firebrick1, and steelblue, but these are not the colors ggplot uses. They are just the labels for the color...
View Article
Browsing index pages (2 articles)