Skip to content

Commit

Permalink
should be rbind because in d the results are transposed
Browse files Browse the repository at this point in the history
  • Loading branch information
WesIngwersen committed Aug 16, 2024
1 parent 455b406 commit f9f1ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/CalculationFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ calculateResultsWithExternalFactors <- function(model, perspective = "FINAL", de
# colSums(z) == colSums(r2)
r2 <- z
}
result$LCI_d <- cbind(r1, r2 + r3) # Term 2 and Term 3 are assigned to RoW
result$LCI_d <- rbind(r1, r2 + r3) # Term 2 and Term 3 are assigned to RoW
} else {
result$LCI_d <- r1 + r2 + r3 # All three terms combined and regions do not change
}
Expand Down

0 comments on commit f9f1ab4

Please sign in to comment.