Created
July 28, 2017 14:20
-
-
Save statzhero/c6f2156d2d4f05178d33a0c892f108f6 to your computer and use it in GitHub Desktop.
This file contains 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() | |
prop.table(mytable) # cell percentages | |
sort(table(x), decreasing = TRUE) | |
# Show missing data in table as default | |
table = function (..., useNA = 'ifany') base::table(..., useNA = useNA) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment