Guest User

Untitled

a guest
Jan 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Start_Date Difference Status
  2. 1/1/2018 16 Fail
  3. 1/1/2018 16 Fail
  4. 1/1/2018 16 Pass
  5. 1/1/2018 16 Pass
  6. 5/1/2018 12 Fail
  7. 5/1/2018 12 Fail
  8. 5/1/2018 12 Fail
  9. 5/1/2018 12 Pass
  10. 10/1/2018 7 Pass
  11. 10/1/2018 7 Pass
  12. 10/1/2018 7 Pass
  13. 10/1/2018 7 Fail
  14.  
  15. If (df$Status == "Pass") { df$Difference <- "I have not idea" } else { df$Difference <- Sys.Date()-df$Start_Date }
Add Comment
Please, Sign In to add comment