Description Usage Arguments See Also Examples
View source: R/quarterlyIncome.R
Find the dollars earned over the time period defined in the interval for each salary position in the data.table.
1 | quarterly_income(dt, intervals, units = "days")
|
dt |
data.table of income data. Must include columns 'Amount' the earning for that interval, 'DateStart' the start date for earning that salary, 'DateEnd' the end date for earning that salary. |
intervals |
lubridate interval object with specified start and end dates. |
units |
character string. Units in which the results are desired. |
1 2 3 | qrt_int <- quarterly_intervals(end = as.Date("2019-12-31"),
cutoff = as.Date("2019-09-01"))
quarterly_income(homeBudget::incomeExample, qrt_int)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.