Hi everyone,
Here my small dataset :
report <- matrix(0, ncol=3, nrow = 5)
colnames(report) <- c("Month", "Var1","Var2")
report[,1] <- 1:5
report[,2] <- c(5,7,6,1,2)
report[,3] <- c(10,11,10,9,9)
report <- as.data.frame(report)
> report
Month Var1 Var2
1 5 10
2 7 11
3 6 10
4 1 9
5 2 9
My goal is to display for each month (xlab = Month), the "value" of my 2 variables.
I don't have factory/levels to count or anyting else, just representing the bar of the values.
For example, for January, display 5 (var1 in red color) and 10 (var2 in blue color), then February in red/blue etc.. And have a legend for the 2 variables (fill option i suppose).
Something in this appareance, but i don't have any factor to count.. just values