standardization: Standardization

Description Usage Arguments Value

Description

Standardization is simply a weighted aggregation, but with multiple hierachical levels. This function contains the logic for iterating over the different hierarchical levels, but it passes the actual computation of the aggregations on to the standardizeNode function.

Usage

1
2
3
standardization(graph, standardizeElement, plot, aupusParam,
  productionElement = paste0(aupusParam$keyNames$valuePrefix,
  aupusParam$keyNames$elementName, "_51"), ...)

Arguments

graph

The igraph object containing the node and edge information, typically as generated by suaToNetworkRepresentation.

standardizeElement

A character vector of the column names of the node object that should be processed. This should correspond to the elements of the FBS that need to be standardized.

plot

Whether the network should be plotted as it is processed. Several plots will be generated with prompts between, so only use this option if running this function in interactive mode.

aupusParam

A list of running parameters to be used in pulling the data. Typically, this is generated from getAupusParameter (see that function for a description of the required elements).

productionElement

The column name of the production element in the nodes of the graph. Important if standardizeProduction = FALSE.

...

Additional arguments to be passed to the plotting function.

Value

A data.table object with one column for the item key and one column for each element of standardizeElement (containing the value after standardization has been performed).


SWS-Methodology/faoswsAupus documentation built on May 9, 2019, 11:45 a.m.