Dear Rui Barradas
Thank you very much for your prompt reply.
It works. I am grateful for your help.
Take care and best wishes.
Hossain
On Tue, Jun 28, 2022 at 5:45 PM Rui Barradas wrote:
> Hello,
>
> scale_*_manual expects a discrete vector as values, you are passing it a
> continuous one.
Hello,
scale_*_manual expects a discrete vector as values, you are passing it a
continuous one. The natural way of having a continuous variable set the
color and fill values is with a gradient scale.
I have changed geom_bar to geom_col.
Map prob to the fill aesthetic. Then, in scale_fill_cont
Dear R- Experts,
I hope that you are doing well.
I am facing a problem with adding color to a barplot. My target is to add a
bar color conditioning on the following
Values close to 1 represent "White" and values tend to 0 represent "Black".
However, I failed. The code is given below. I will be
3 matches
Mail list logo