I need plot like this, I have columns of date and time and I can only use basic plotting system of R
I'm trying
GPA = data[, "GPA"]
data[, "Date"] = as.Date(data[,"Date"])
time = paste(data[, "Date"], data[, "Time"])
time = strftime(time, format = "%a %H:%M:%S")
plot(time, GPA)
and it gives me:
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max; returning -Inf