lubridate (version 0.2.1)

subtract_dates: Subtracting date-time objects...

Description

Subtracting date-time objects

Usage

subtract_dates(e1, e2)

Arguments

e1
a numeric or date-time object
e2
a numeric or date-time object

Details

subtract_dates subtracts two objects, both of which can be date-time objects. Lubridate is built so that you don't need to use subtract_dates but can use regular math expressions instead.