View source: R/computeMedianUnitValue.R
computeMedianUnitValue | R Documentation |
The median unit value is calculated in a specific-to-generic fashion: 1) by HS-reporter; 2) by HS8-reporter; by HS6-reporter; 3) by HS; 4) by FCL; 5) by flow. The first available of these options will be used (for HS, HS8 and HS6 only when there are at least 10 flows).
computeMedianUnitValue(tradedata = NA, name = "uvm", other = TRUE)
tradedata |
Trade data. |
name |
A string specifying the name of the variable name that will contain the median unit value ("uvm" by default). |
other |
Logical value indicating whether other median unit values and the number of reporters are reported. By default it is TRUE. |
tradedata
with median unit value. If other
== TRUE
intermediate median unit values and the number of partners on which the
medians are computed are returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.