SWS-Methodology / faoswsTrade

World trade data processing for the FAO Statistical Working System
http://www.fao.org/economic/ess/ess-home/en/
5 stars 2 forks source link

No uvm exists when calling detectOutliers() #160

Open chrMongeau opened 7 years ago

chrMongeau commented 7 years ago

The median unit value (uvm) that is used when detectOutliers() is called with the ratiomedian method is computed when computeMedianUnitValue() is called, which is done later:

https://github.com/SWS-Methodology/faoswsTrade/blob/c38de3e7d2c619c2819ab2895f67c07e6ff66351/modules/complete_tf_cpc/main.R#L1143-L1162