market_capping | R Documentation |
Market_capping
market_capping(mv, capped_wts)
mv |
Vector of market values |
capped_wts |
Vector of weights to cap each market values |
A datafrane of results containing capped market values, capped weights, scaling factors and rescaled scaling factors (see Note)
When a country has zero market value, its scaling factor will be assigned 0, as opposed to 1 per the scaling factor spreadsheet convention, as it would give a more "correct" rescaled scaling factor.
Rescaled scaling factors ensures that the largest factor is 1 by rescaling scaling factors.
data(mvs) data(caps) market_capping(mvs, caps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.