How can I apply difftime to a vector of sorted dates?  I can do this just
fine with diff, but difftime doesn't seem to take in a vector.

> diff(r$BOOKING_DATE)
Works.  Great!

> difftime(r$MY_DATE, units="days")
Error in as.POSIXct(time2) : argument "time2" is missing, with no default

Thanks,
Bradford

	[[alternative HTML version deleted]]

