View source: R/utility_functions.R
create_fd_sectors_list | R Documentation |
This function creates a list equal to the length of any data frame supplied.
It is typically used on a data frame containing Physical Supply-Use Tables (PSUT)
with the associated final demand sectors in the nested Y
and U_EIOU
matrices.
create_fd_sectors_list(fd_sectors, .sutdata)
fd_sectors |
A character vector of final demand sectors. |
.sutdata |
A data frame containing Physical Supply-Use Table (PSUT) matrices with associated final demand sector names |
A list the length of a desired data frame containing final demand vectors
library(Recca) final_demand_sector_list <- create_fd_sectors_list(fd_sectors = c("Residential"), .sutdata = Recca::UKEnergy2000mats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.