format_missing: Format missing values

View source: R/round_spec.R

format_missingR Documentation

Format missing values

Description

format_missing() updates a rounding_specification object so that missing values are printed as the user specifies.

Usage

format_missing(rspec, replace_na_with)

Arguments

rspec

a rounding_specification object (see round_spec).

replace_na_with

a character value that replaces missing values.

Value

an object of class rounding_specification.

Examples


rspec <- round_spec()
rspec <- format_missing(rspec, 'oh no!')
table_value(x = c(pi, NA), rspec)


table.glue documentation built on Feb. 16, 2023, 9:29 p.m.