Skip to content

select subset of data according to date range

2 messages · Carol Gao, Jim Lemon

#
On 05/01/2010 02:55 PM, Carol Gao wrote:
Hi Carol,
I would do something like this:

my.data.frame[format(my.data.frame$Time,"%Y-%m-%d") == "2008-12-02",]

although there may be a better way by extracting only the day from the 
Time field.

Jim