Learn R Programming

iotables (version 0.9.3)

round_table: Systematically round values in a table

Description

This is an internal function to do the rounding on all numeric elements of the table for comparability with external sources that use rounding.

Usage

round_table(data_table, digits = NULL)

Value

A tibble with a key row and a symmetric matrix, after removing all empty columns and rows at the same time.

Arguments

data_table

A symmetric input-output table, or a use table, or a supply table, or a margin or a tax table.

digits

Number of digits for rounding.