Description Usage Arguments Value
Standardization follows the below process:
Compute a matrix ("reverseMatrix" in the code) describing how much of a particular quantity is passed from a child to it's parent. The (i,j)-th entry of this matrix specifies a conversion factor for transferring element j quantities into element i quantities.
Compute the matrix of required elements (column) for each commodity (row), and call this "valueMatrix".
Compute the new value for each commodity by pre-multiplying valueMatrix by reverseMatrix and therefore aggregating children commodities into their parents.
Lastly, save this new data back to the passed graph object, and return.
1 2 3 | standardizeNode(graph, workingNode, standardizeElement,
productionElement = paste0(aupusParam$keyNames$valuePrefix,
aupusParam$keyNames$elementName, "_51"))
|
graph |
The graph object created by the function constructGraph. |
workingNode |
The nodes to be standardized |
standardizeElement |
The attribute of the nodes to be standardized. |
productionElement |
The column name of the production element in the nodes of the graph. Important if standardizeProduction = FALSE. |
A graph object that has been updated according to the description above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.