Skip to content
Prev 391945 / 398500 Next

How do I "teach" R that columns 1, 2, and 3 are the Year-Month-Day

I do not see any posting on this topic from Jeff Newmiller.
I seek a way to ?teach? R that "2021-07-25? represents a Year, Month, and Day.
Greg Coats
Error in plot.window(...) : need finite 'ylim' 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
Error in xyplot(Dates, Fuel) : could not find function "xyplot"