3
I would like to create a bar chart on ggplot2
with x1
and x2
side by side comparing month to month. I tried the following code, but was unsuccessful:
Mean_2013 <- read.table("https://raw.githack.com/fsbmat/StackOverflow/master/Mean_2013.txt",header = TRUE)
str(Mean_2013)
ggplot(Mean_2013) +
geom_bar(aes(x=(reorder(Mes,Mes_id)),y=x1, fill=x2), stat = "identity", position='dodge')
How should I proceed?