Re: [R] colors in facet ggplot and geom_bar

2016-02-25 Thread efisio solazzo
Dear, Ok...I thought a hint would have been sufficient, but I'm still stuck. based on the 'Data' dataframe: Data mod_names err_typevalue spec_comp sign.value pos 1 mod1 var 2.970681e-03ID - 1.485341e-03 2 mod1 mMSE 1.881598e-01

[R] colors in facet ggplot and geom_bar

2016-02-22 Thread efisio solazzo
Dear, I wonder if there is a way to 'play' with colors in facet ggplot and geom_bar. With reference to the attached figure, I'd like to - color the green portion based on a numerical variable (say 1 to 10) on all of the four panels and - color-code the y labels based on the values of the 'bias

Re: [R] colors in facet ggplot and geom_bar

2016-02-22 Thread Jeff Newmiller
By failing to provide a reproducible example and framing the desired answer as 'any hint' you are effectively limiting yourself to 'any hint' rather than a working example. The 'any hint' is that err_type should be a factor with levels in your desired order, and you can then use any of the sca