Percent pattern helper
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 NA
warn_duplicates
: whether to warn if margin has duplicatesa list
get_percent_pattern(c("cells","row","column")) get_percent_pattern(c("cells","row","column"), na=TRUE)
Useful links