set_osa: Set Omit-Suppress-Alias (OSA)

Description Usage Arguments Value

View source: R/make-table.R

Description

Replaces an existing OSA specification with the terms supplied to this function. If any one of the elments is not included, the any existing values of that term will be maintained. To erase the existing elements of a term, set its value to NA.

Usage

1
set_osa(osa, omit = NULL, suppress = NULL, alias = NULL)

Arguments

omit

Character vector of variable names to be omitted

suppress

Character vector of variable names to be suppressed. Only factor variables can be suppressed.

alias

Named character vector of variables to rename. The name portion of the vector should be the existing variable name and the value should be its new name.

to

A tabler_object

Value

An updated tabler_object


kbrevoort/tabler documentation built on Oct. 20, 2020, 7:49 a.m.