table0 | R Documentation |
Identical to 'table(..., useNA = "always")'. The name is inspired by 'paste0'.
table0(...)
... |
arguments passed through to the 'table' function |
Returns output of 'table' but forces 'NA' to always be counted
x <- sample(c(letters, NA), 1000, replace = TRUE)
table(x)
table(x, useNA = "always")
table0(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.