Learn R Programming

iotables (version 0.4.5)

round_table: Systematically Eound Values in a Table

Description

This is an internal function to do the rounding on all numeric elements of the table.

Usage

round_table(data_table, digits = NULL)

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.

Value

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