get_percent_pattern {crosstable} | R Documentation |
Percent pattern helper
Description
Get a list with pre-filled values for percent_pattern
.
Usage
get_percent_pattern(
margin = c("row", "column", "cell", "none", "all"),
na = FALSE
)
Arguments
margin |
a vector giving the margins to compute. |
na |
whether to use |
Value
a list
Examples
get_percent_pattern(c("cells","row","column"))
get_percent_pattern(c("cells","row","column"), na=TRUE)
[Package crosstable version 0.7.0 Index]