redacted_summary_catnum | R Documentation |
Categorical by numeric cross-tabulation, with redaction if necessary
redacted_summary_catnum(
variable_cat,
variable_num,
threshold = 5L,
.missing_name = "(missing)",
.redacted_name = "redacted"
)
variable_cat |
The categorical vector (or will be coerced to one) |
variable_num |
The numeric vector |
threshold |
The redaction threshold. If the length of |
.missing_name |
The string used to replace |
.redacted_name |
The string used to replace redacted values. |
This function takes a categorical vector and a numeric vector of the same length, and performs a cross-tabulation. Summary statistics are redacted according to the rules in redactor
.
A table of summary statistics for the numeric variable, stratified by the categorical variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.