lubridate: how to parse month-year? [duplicate]
问题 This question already has answers here : Converting year and month (“yyyy-mm” format) to a date? (7 answers) Closed 3 years ago . I have a column of dates as follows, > mymonth = c('10/2015','11/2016','12/2016') > data <- data_frame(mymonth) > data # A tibble: 3 × 1 mymonth <chr> 1 10/2015 2 11/2016 3 12/2016 Here, obviously, my month corresponds to a particular month in the year. October 2015, November 2015 and December 2015. I cannot parse these dates correctly with lubridate . It is