R/fct_solution_action_consequence.R
solution_action_consequence.RdThis function calculates the consequences for each feature within a solution. Specifically, it shows how each action contributes to the overall amount of each feature given the solution.
solution_action_consequence(feature_ids, action_ids, pu_data, solution_data)| feature_ids |
|
|---|---|
| action_ids |
|
| pu_data |
|
| solution_data |
|
A matrix containing the expected amount of each
feature resulting from each action in the solution.
Each row is a different feature, each column is a different action.