Description Usage Arguments Details Value Examples
View source: R/elapsed_months.R
The integer number of complete months between two POSIXct timestamps is obtained
1 | elapsed_months(t0, t1)
|
t0 |
POSIXct timestamp |
t1 |
POSIXct timestamp |
The integer number of complete ellapsed months between two POSIXct timestamps.
An integer
1 2 3 | t0 <- Sys.time()
t1 <- t0 + 60*60*24*365*500 # nearly 500 years later
dmonth <- elapsed_months(t0, t1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.