get_percent_pattern {crosstable} | R Documentation |
Get a list with pre-filled values for percent_pattern
.
get_percent_pattern(
margin = c("row", "column", "cell", "none", "all"),
na = FALSE,
warn_duplicates = TRUE
)
margin |
a vector giving the margins to compute. |
na |
whether to use |
warn_duplicates |
whether to warn if margin has duplicates |
a list
get_percent_pattern(c("cells","row","column"))
get_percent_pattern(c("cells","row","column"), na=TRUE)