testCalculationFunctions: Test that model calculation functions are successful Includes...

View source: R/ValidateModel.R

testCalculationFunctionsR Documentation

Test that model calculation functions are successful Includes tests for the following functions: adjustResultMatrixPrice, calculateFlowContributiontoImpact, calculateSectorContributiontoImpact, disaggregateTotalToDirectAndTier1, calculateSectorPurchasedbySectorSourcedImpact, aggregateResultMatrix, calculateMarginSectorImpacts

Description

Test that model calculation functions are successful Includes tests for the following functions: adjustResultMatrixPrice, calculateFlowContributiontoImpact, calculateSectorContributiontoImpact, disaggregateTotalToDirectAndTier1, calculateSectorPurchasedbySectorSourcedImpact, aggregateResultMatrix, calculateMarginSectorImpacts

Usage

testCalculationFunctions(model)

Arguments

model

A fully built EEIO model object


USEPA/useeior documentation built on Nov. 5, 2024, 6:12 p.m.