powered by
Convert time interval units to natural values based on magnitude of difference.
autoUnits(x)
an object inheriting from class difftime
difftime
Eric Archer eric.archer@noaa.gov
autoUnits(as.difftime("0:3:35")) autoUnits(as.difftime("15:3:35")) autoUnits(ISOdate(2000, 5, 1) - ISOdate(2000, 4, 20))
Run the code above in your browser using DataLab