I'd like to achieve the following effect in R:
I got 6 sets set of data in the following form:
- Series 1:
- a_1 <- c(1,2,3,4,5,6)
- a_2 <- c(2,3,4,5,6,7)
- Series 2:
- b_1 <- c(2,6,4,7,4,7,3,5,8,5,4)
- b_2 <- c(2,3,4,4,5,6,2,4,6,7,3)
- Series 3:
- c_1 <- c(8,7,6,5,4,3)
- c_2 <- c(6,5,4,3,2,1)
I'd like to smooth the lines and color the areas in between them.