Displaying 1 result from an estimated 1 matches for "lastfri".
2007 Sep 27
1
converting numbers in "YYYYMM" format to last calendar day and last exchange trading day of the month
I have a vector that contains month and year in the format YYYYMM (e.g.“200701”, “200702”)
  I wish to do to things:
1. I need      to convert to a date that is the last calendar day of each month.
2. I need      to convert this to a date that is the last U.S. stock-exchange trading day      of each month.
            Any advice is appreciated,
  mymonths <- c(200701, 200702)