Skip to content

Commit

Permalink
export formatDemandVector
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Sep 6, 2023
1 parent f03e515 commit bf42e8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export(compareFlowTotals)
export(compareOutputandLeontiefXDemand)
export(disaggregateTotalToDirectAndTier1)
export(extractAndFormatDemandVector)
export(formatDemandVector)
export(generateModelIdentifier)
export(heatmapSatelliteTableCoverage)
export(heatmapSectorRanking)
Expand Down
1 change: 1 addition & 0 deletions R/DemandFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ isDemandVectorValid <- function(dv, L){
#' @param dv, a user provided demand vector. See calculateEEIOModel()
#' @param L, the L matrix for the given model, used as a reference
#' @return A named vector with values for all names in L and ordered like L
#' @export
formatDemandVector <- function(dv,L) {
#create a named vector using the first col of L
d <- c(L[,1])
Expand Down

0 comments on commit bf42e8a

Please sign in to comment.