Skip to content
Prev 366735 / 398502 Next

Subset()

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:
Message-ID: <CA+8X3fXUE2JdTpJKLpmnVjYaDC=Dfy6ca1x1N6pRBhn0fhWwMg@mail.gmail.com>
In-Reply-To: <CAFjJza=0n6mYPbTxUUbsHefPJD2aOXb7FUn3Ztijxd1Fxk_uEQ@mail.gmail.com>