Problems creating datetime series graph in R using ggplot
问题 I am trying to create a graph with the following characteristics: x-axis: time and date y-axis: data here you can download my dataframe: https://my.cloudme.com/josechka/data I try to produce the graph using: p <- ggplot(data,aes(x = Date, y = Var,group = 1)) + geom_line() + scale_x_date(labels = date_format("%m/%d/%Y")) + scale_y_continuous(limits = c(0, 70000)) p And I get the result: Error: Invalid input: date_trans works with objects of class Date only I am quite new in R and ggplot. What