util_indirect | R Documentation |
Indirect utility function
util_indirect(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 scalar numeric of utility level. When
gradient = TRUE
, a numeric vector of gradients of utility level related to
prices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.