Description Usage Arguments Details Value Author(s)
Takes a vector of fiscal or calendar periods and returns a vector of dates, the first date of each month
1 |
mydata |
an integer vector of fiscal period of the form yyyymm |
n |
number of months difference between the fiscal year and the calendar year |
fiscal |
Logical, whether the mydata consisits of calendar or fiscal periods |
A fiscal period 201701 starting in July 1st, 2016 would have a n=6 ( This is 'new fiscal year starts july 1st' scenario. 201701 should return as.Date('2016-01-07')
a vector of dates, where the day is the first day of the month
Matthew Davis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.