heatmapSectorRanking: SMM tool like heatmap showing ranking of sectors

View source: R/VisualizationFunctions.R

heatmapSectorRankingR Documentation

SMM tool like heatmap showing ranking of sectors

Description

SMM tool like heatmap showing ranking of sectors

Usage

heatmapSectorRanking(
  model,
  matrix,
  indicators,
  sector_to_remove,
  N_sector,
  x_title = NULL,
  use_codes = TRUE
)

Arguments

model

A complete EEIO model: a list with USEEIO model components and attributes

matrix

A matrix from model result

indicators

A vector of indicators to plot, use Codes if use_codes = TRUE, otherwise use Names

sector_to_remove

Code of one or more BEA sectors that will be removed from the plot. Can be "".

N_sector

A numeric value indicating number of sectors to show in the ranking

x_title

A string specifying desired title on the x-axis, default is NULL, the title will be "modelname indicators"

use_codes

bool, indicate if figure should use indicator Code (TRUE) or Name (FALSE)


USEPA/useeior documentation built on April 12, 2024, 1:36 p.m.