Learn R Programming

iotables (version 0.4.5)

matrix_round: Round all matrix values to required number of digits.

Description

Round all matrix values to required number of digits.

Usage

matrix_round(data_table, digits = 0)

Arguments

data_table

A symmetric input output table, a use table or a supply table.

digits

An integer number, defaults to 0.

Value

The matrix, with the intact key column and the numeric columns rounded.