budget_shares: Budget shares

View source: R/building_blocks.R

budget_sharesR Documentation

Budget shares

Description

Returns a matrix of budget shares corresponding to prices and quantities.

Usage

budget_shares(P, Q)

Arguments

P

An m x n matrix of prices (row country, column goods).

Q

An m x n matrix of quantities (row country, column goods).

Value

An m x n matrix of budget shares


ErikOSorensen/pppindexr documentation built on Jan. 7, 2023, 4:11 p.m.