RegionIndicator

Syntax

RegionIndicator(Branch:Variable, IndicatorFunction, YearMode, RegionMode) or
RegionIndicator(Branch:Variable, IndicatorFunction, YearMode) or
RegionIndicator(Branch:Variable, IndicatorFunction) or

Description

Calculates a composite indicator for the current branch and variable by comparing across regions.

yOne, yEach =  0: Indicates that the indicator should be calculated separately in each year in each scenario.
yBase = 1:
Indicates that the indicator should be calculated only once for the base year of the study.
yAll = 2:
Indicates that the indicator should be calculated once looking across all values in all years.

If the YearMode parameter is omitted from the function then LEAP assumes YearMode=yEach

rAll = 0: Calculates the indicator across all regions.
rCalculated = 1:
Calculates the indicator across all regions marked for calculation in the General: Regions screen.  Values for regions not marked for calculation are ignored.

Example

RegionIndicator(GDP,fRankHigh)  Ranks regions from 1 to n (where n is the number of scenarios) based on which had the highest GDP.  The ranking is calculated separately in each year.