Skip to content

Subset()

1 message · Jim Lemon

#
Hi Elise,
One of the quirks of POSIXt time values is that they are lists. This
should give you the plot:

plot(Soil_Temp~as.numeric(DateTime),eldf,xaxt="n",xlab="DateTime")

and this the x axis:

axis.POSIXct(1,eldf$DateTime)

If you want a different format for the date values on the axis, look
at the "format" argument.

Jim


On Sun, Jan 22, 2017 at 2:32 PM, Elise LIKILIKI
<elise.likiliki at gmail.com> wrote: