A Shiny app to visualize an Edgeworth box with contract curve for the 2x2 exchange model using Cobb-Douglas utility functions.
The goal of cobbdouglasge is to show how to plot the solutions of a 2x2 Cobb-Douglas general equilibrium model in R using Shiny.
From R, install it directly from GitHub:
if (!require(remotes)) install.packages("remotes", repos = "https://cran.r-project.org)
# remotes::install_github("pachadotdev/cobbdouglasge")
install.packages("cobbdouglasge", repos = c('https://pachadotdev.r-universe.dev', 'https://cloud.r-project.org'))
library(cobbdouglasge)
run_app()
The base for this demonstration was exercise 15.B.2 from MWG.
I hope this is useful!