I have a data frame with hourly data and I am trying to plot but I want date on x axis not just index as numbers, I want the dates to be shown on x axis
df = read.csv('~/Desktop/data.csv', header = TRUE , stringsAsFactors = FALSE)
df$Date <- as.POSIXct(strptime(df$Date,format= "%Y-%m-%d %H:%M:%OS"))
plot(df$column1)