util_2goods_budget: Budget line function factory for two goods

View source: R/util-2goods.R

util_2goods_budgetR Documentation

Budget line function factory for two goods

Description

[Experimental]

Usage

util_2goods_budget(prices, income)

Arguments

prices

A numeric vector of length 2 with the prices of the goods.

income

A scalar numeric of income.

Value

A function that takes a scalar numeric of quantity of good X and returns a scalar numeric of quantity of good Y.


UchidaMizuki/econgoods documentation built on Oct. 23, 2024, 8:10 a.m.