format_missing {table.glue}R 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)


[Package table.glue version 0.0.3 Index]