View source: R/building_blocks.R
budget_shares | R Documentation |
Returns a matrix of budget shares corresponding to prices and quantities.
budget_shares(P, Q)
P |
An m x n matrix of prices (row country, column goods). |
Q |
An m x n matrix of quantities (row country, column goods). |
An m x n matrix of budget shares
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.