Result = areauniform(areaclass)
The area to which a cell belongs is identified by areaclass: cells with corresponding values on areaclass are member of a separate area. The Result is generated with a random number generator: for each area on areaclass, a random number between 0 and 1 is taken from a uniform distribution. This value is assigned to all cells belonging to that area.
A cell with a missing value on areaclass is assigned a missing value on Result.
This operation belongs to the group of Random number generators; Areas
- • pcrcalcbindingResult = Result.map;Class = Class.map;initialreport Result = areauniform(Class);• pythonClass = readmap(“Class.map”)Result = areauniform(Class)