結果 : r code to check for missing data