m.since | R Documentation |
This function helps you determine the number of months between two columns containing date values.
m.since(late_date, first_date, format = "%d/%m/%Y", to = "months")
late_date |
enter data frame column containing the later dates (e.g., second observation in a time-series data set). |
first_date |
enter the earlier date column. |
format |
format the entered date columns should be read as. |
to |
enter the format in which you would like the time difference output (e.g., days, weeks, months, years) |
m.since()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.