util_demand_marshallian | R Documentation |
Marshallian demand function
util_demand_marshallian(f, prices, income, gradient = FALSE, ...)
f |
A |
prices |
A numeric vector of prices. |
income |
A scalar numeric of income. |
gradient |
Logical input to return the gradient. By default, |
... |
Additional arguments. |
when gradient = FALSE
, a numeric vector of quantities. When
gradient = TRUE
, a numeric matrix of gradients of quantities related to prices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.