aggregateResultMatrix: Aggregate result matrix by rows and columns

aggregateResultMatrixR Documentation

Aggregate result matrix by rows and columns

Description

Aggregate result matrix by rows and columns

Usage

aggregateResultMatrix(matrix, to_level, crosswalk)

Arguments

matrix

A matrix of inventory or impact results with sectors as both rows and columns, such as the output from calculateSectorPurchasedbySectorSourcedImpact()

to_level

The level of BEA code this matrix will be aggregated to

crosswalk

Sector crosswalk between levels of detail

Value

An aggregated matrix with sectors as rows and columns


USEPA/useeior documentation built on June 10, 2025, 12:53 a.m.