Description Usage Arguments Value TODO Note Author(s)
Determines the difference between two time points generated from calling date()
1 |
t1 |
a date string eg "Wed Oct 20 14 03:12 2004" |
t2 |
as for |
units |
one of “sec”, “min” or “hr” |
amount oftime between t2 - t1.
Make the function work for when t2 and t1 are on different days.
check out lubridate package.
Mark Cowley, 20 Oct 2004
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.