compare_div_income: Stack multiple years of income

Description Usage Arguments

View source: R/compare_div_income.R

Description

Stack multiple years of income

Usage

1
2
3
4
5
6
7
compare_div_income(
  data,
  date_field = "PayDate",
  m = NULL,
  y = NULL,
  n_years = 1
)

Arguments

data

a data.table with income and dates

date_field

a character with the name of the column with the payment date

m

a date of the last day of income to be included (defaults to last day of the current month)

y

the last year to analyze (defaults to current year)

n_years

the number of years to plot


David-Statistics/djmisc documentation built on Jan. 1, 2022, 4:04 p.m.