redacted_summary_num: Summarise a numeric vector and redact if necessary

View source: R/redaction.R

redacted_summary_numR Documentation

Summarise a numeric vector and redact if necessary

Description

Summarise a numeric vector and redact if necessary

Usage

redacted_summary_num(x, threshold = 5L, .redacted_name = "redacted")

Arguments

x

The numeric variable.

threshold

The redaction threshold. If the length of x is less than or equal to this threshold, then no summary values will be reported.

.redacted_name

The string used to replace redacted values.

Details

This function takes a numeric vector (or something that can be coerced to one), and summarises it. Summary statistics are redacted according to the rules in redactor.

Value

A table of summary statistics for the variable.


wjchulme/osutils documentation built on Dec. 20, 2024, 9:56 a.m.