I need to make some barplots using data from a file:
|
|
So I imported the data into R
|
|
But the color does’t match those supplied in the column color
If we check the column in R, the hex values were treated as factors.
|
|
So we need take the color values as characters:
|
|
Now the colors are quite as set now.
Can also add a legend:
|
|