Created
March 18, 2020 15:46
-
-
Save NyaGarcia/f506c2b019224cef987b922facd6d5e3 to your computer and use it in GitHub Desktop.
Creating a contingency table of the cyl and gear columns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table(mtcars$gear, mtcars$cyl) | |
4 6 8 | |
3 1 2 12 | |
4 8 4 0 | |
5 2 1 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment