matrix_round {iotables}R Documentation

Round all matrix values to required number of digits.

Description

For comparison with results created with other software or published with rounding, systematically round the values of an input-output table, a use, supply, tax or margins table.

Usage

matrix_round(data_table, digits = 0)

Arguments

data_table

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

digits

An integer number, defaults to 0.

Value

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

See Also

Other iotables processing functions: conforming_vector_create(), household_column_get(), iotable_year_get(), key_column_create(), output_get(), primary_input_get(), rows_add(), supplementary_add(), total_tax_add(), vector_transpose_longer(), vector_transpose_wider()


[Package iotables version 0.9.3 Index]