[R] How to specify year-month-day for a plot

Jim Lemon drj|m|emon @end|ng |rom gm@||@com
Mon Dec 14 04:58:11 CET 2020


Hi Gregory,

On Mon, Dec 14, 2020 at 12:34 PM Gregory Coats <gregcoats using me.com> wrote:
>...
> Is there a convenient way to tell R to interpret “2020-12-13” as a date?
>
Notice the as.Date command in the code I sent to you. this converts a
string to a date with a resolution of one day. If you want a higher
time resolution, use strptime or one of the other POSIX date
conversion functions.

Jim



More information about the R-help mailing list