Tag: R ifelse turning date into numeric