Skip to content

Subset()

3 messages · Elise LIKILIKI, David Winsemius, Jim Lemon

#
Hello,

I have a dataset containing Date Time, Air Temperature, PPFD, Sol
Temperature...
The first data are false so I would like to extract the other ones.
I've tried :
11:00:00",format="%Y-%m-%d
%H:%M:%S"),select=c(DateTime,PPFD_Avg,Air_Temp_Avg,RH_Avg,Soil_Temp_Avg))
But I still have 4 rows with data from 2017-01-10 10:00:00 to 2017-01-10
10:45:00 and I don't understand why.

Does anyone could help me please.

Thanks,

Elise LIKILIKI
#
How are we supposed to help you if you don?t read the Posting Guide and don?t provide any information about the classes of columns in `data`.?

? David.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
David Winsemius, MD
Alameda, CA, USA
#
Hi Elise,.
I would ask:

class(data$DateTime)

and see if it returns:

"POSIXct" "POSIXt"

Jim


On Sat, Jan 21, 2017 at 3:02 AM, Elise LIKILIKI
<elise.likiliki at gmail.com> wrote: