Steve,
Just below are some examples that I hope will help.
With regard to what you've tried, I don't see any reason for using with(),
or the select argument to subset(). They both look unnecessary to me.
## examples of subsetting date-time values
## create fake data
tmp <- seq(as.POSIXct('2011-0
Try altering your subset operation from this:
with(DataSet, subset(DataSet, DataSet$NewDateTime < '2004-08-05 14:15:00'))
to this:
with(DataSet, subset(DataSet, DataSet$NewDateTime < as.POSIXct('2004-08-05
14:15:00')))
and see if you get the desired effect.
The statement DataSet$NewDateTime <
2 matches
Mail list logo