powered by
Find the end of year for a vector of dates
end_of_year(dates)
Transition matrix from a VAR model
The last day of the year for the dates
# NOT RUN { end_of_year(as.Date("2019-09-15")) ## 2019-12-31 # }
Run the code above in your browser using DataLab