I'm trying to plot a timeseries data using ggplot2. However, when I'm using ggplot (as shown below), I'm getting this error: "Error: Mapping should be created with
aes_()". Please help me solve this.
sp <- ggplot(data = data_19, mapping = aes(x = rdate) + geom_line(mapping = aes(y=State_name, color = "red"), size = 1.5))