How to fix Error in f(…) : Aesthetics can not vary with a ribbon
问题 I'm using ggplot2 to create a stacked area chart showing footprint (area) of a number of different research stations over time. I would like something that looks like the chart below, but with Area on the y axis and colored by the different research stations: (source: r-graph-gallery.com) I've tried elements of similar posts, but can't get it to work. Trouble with ggplot in R - "Error in f(...) : Aesthetics can not vary with a ribbon" Getting a stacked area plot in R https://www.r-graph