Created
March 18, 2020 19:57
-
-
Save NyaGarcia/29d77cead44533a969361174f6817308 to your computer and use it in GitHub Desktop.
Calling str() on a table object
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
> myCars<-table(mtcars$gear, mtcars$cyl) | |
> str(myCars) | |
'table' int [1:3, 1:3] 1 8 2 2 4 1 12 0 2 | |
- attr(*, "dimnames")=List of 2 | |
..$ : chr [1:3] "3" "4" "5" | |
..$ : chr [1:3] "4" "6" "8" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment