Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. as.data.frame(table(df$var1,df$var2,df$var3))
  2.  
  3. table(inwoner$relhhh,inwoner$identificatiehuis,inwoner$IDNR)
  4.  
  5. subset(table(inwoner$relhhh,inwoner$identificatiehuis,inwoner$IDNR),table(inwoner$relhhh,inwoner$identificatiehuis,inwoner$IDNR)$Freq!='0')
  6.  
  7. droplevels(table(inwoner$relhhh,inwoner$identificatiehuis,inwoner$IDNR))
  8.  
  9. relhhh identificatiehuis IDNR Freq
  10. 0 a1 1234 1
  11. 1 a1 1234 0
  12. 0 a1 1235 1
  13. 1 a1 1235 5
  14. 0 a2 1234 7
  15. 1 a2 1234 0
  16. 0 a2 1235 0
  17. 1 a2 1235 3
  18.  
  19. relhhh identificatiehuis IDNR Freq
  20. 0 a1 1234 1
  21. 0 a1 1235 1
  22. 1 a1 1235 5
  23. 0 a2 1234 7
  24. 1 a2 1235 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement