Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. H10 <- H10 %>%
  2. rowwise() %>%
  3. mutate(t10dv = mean(c(fd$DV1_C, fd$DV2_C,
  4. fd$DV3_C, fd$DV4_C),
  5. na.rm = TRUE))
  6.  
  7. head(H10)
  8.  
  9. DV1_C DV2_C DV3_C DV4_C t10dv
  10. <int> <int> <int> <int> <dbl>
  11. 1 1 0 0 1 0.3880952
  12. 2 -1 0 2 -1 0.3880952
  13. 3 0 0 0 0 0.3880952
  14. 4 0 2 1 1 0.3880952
  15. 5 -1 -1 -1 -2 0.3880952
  16. 6 -2 0 0 0 0.3880952
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement