add_goods_class <- function(x) {
structure(x,
class = c("econ_goods", setdiff(class(x), "econ_goods")))
}
fixed_point_positive <- function(f, x, ...) {
FixedPoint::FixedPoint(\(x, ...) log(f(exp(x), ...)),
Inputs = log(x),
...) |>
purrr::chuck("FixedPoint") |>
exp()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.