get_percent_pattern: Percent pattern helper

get_percent_patternR 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 NA

Value

a list

Examples

get_percent_pattern(c("cells","row","column"))
get_percent_pattern(c("cells","row","column"), na=TRUE)

crosstable documentation built on Nov. 13, 2023, 1:08 a.m.