gt; Thanks for the help.
>
> -Original Message-
> From: dwinsem...@comcast.net [mailto:dwinsem...@comcast.net]
> Sent: Tuesday, May 10, 2011 10:19 AM
> To: Thompson, Adele - adele_thomp...@cargill.com
> Cc: r-help@r-project.org
> Subject: Re: [R] need to delete by time, not date
ginal Message-
From: dwinsem...@comcast.net [mailto:dwinsem...@comcast.net]
Sent: Tuesday, May 10, 2011 10:19 AM
To: Thompson, Adele - adele_thomp...@cargill.com
Cc: r-help@r-project.org
Subject: Re: [R] need to delete by time, not date
On May 10, 2011, at 11:06 AM, Schatzi wrote:
I have a m
t and other more complex
classes.
Thanks for the help.
-Original Message-
From: dwinsem...@comcast.net [mailto:dwinsem...@comcast.net]
Sent: Tuesday, May 10, 2011 10:19 AM
To: Thompson, Adele - adele_thomp...@cargill.com
Cc: r-help@r-project.org
Subject: Re: [R] need to delete by time, not
On May 10, 2011, at 11:06 AM, Schatzi wrote:
I have a matrix where one column has a date and another column has a
time. I
need to delete all times before 6am. I had combined the Date and
Time column
into DateTime.
Mat1:
Weight Date Time
7.6 04/28/11 09:03
8.4 04/29/11 03:11
8.6 04/29/
: Tuesday, May 10, 2011 10:15 AM
To: Thompson, Adele - adele_thomp...@cargill.com
Cc: r-help@r-project.org
Subject: Re: [R] need to delete by time, not date
You may be happy using:
strptime(paste(Date,Time,sep=" "),"%m/%d/%y %H:%M")$hour
--
Clint Bowman
You may be happy using:
strptime(paste(Date,Time,sep=" "),"%m/%d/%y %H:%M")$hour
--
Clint BowmanINTERNET: cl...@ecy.wa.gov
Air Quality Modeler INTERNET: cl...@math.utah.edu
Department of Ecology VOICE: (360) 407-6815
PO Box 47600
I have a matrix where one column has a date and another column has a time. I
need to delete all times before 6am. I had combined the Date and Time column
into DateTime.
Mat1:
Weight Date Time
7.6 04/28/11 09:03
8.4 04/29/11 03:11
8.6 04/29/11 05:32
8.6 04/29/11 09:53
1.4 05/01
7 matches
Mail list logo