R language method for missing missing date data