I am new to RStudio, Most of the time i dont even know what i am doing. Today I am trying to build a bar chart, where I want to show Jurisdiction on X axis and Full year liability on Y axis and color by PELE.
ggplot(data = new, aes(y=Jurisdiction, x=Full_Year_Liability)) + geom_bar(Color=PELE)
Error in layer(data = data, mapping = mapping, stat = stat, geom = GeomBar, :
object 'PELE' not found
I am getting this error message. how do I fix it? Also, if I want create separate bar chart using a column name Scenario, how do i do it?