Giter VIP home page Giter VIP logo

econocharts's Introduction

Hi there

This is the GitHub repository of R CODER and R CHARTS๐Ÿš€, two websites that provide detailed R tutorials in English and Spanish.

R CODER github stats GIF

Visitor count

Take a look to our repositories:

econocharts's People

Contributors

brshallo avatar r-coderdotcom avatar tvqt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

econocharts's Issues

Edgeworth Box?

I'm not sure if this is possible but I think it's closely related to #1 (comment).

Having Edgeworth will be nice. Thanks for the package and your efforts.

Neoclassical labor supply

In the standard model the labor supply curve can be backward bending if the income effect dominates the substitution effect. Essentially this looks like a parabola with respect to the y axis, but determining the exact shape would depend on the particular maximization problem.

Allow for demand taxes

Hello. Thanks for this incredible library!
Here's a suggestion: tax_graph() only allows for supply taxes. For didactic purposes, it should also allow for demand taxes, to show this:

image

Thanks!

Budget constraint graph

Hello, your initiative is excellent.

It would be possible to add that a basic graph could be added that joins the budget constraint with the indifference curve.

Thanks.

Allow subsidies in tax_graph()

Hello again. A second suggestion. tax_graph() doesn't allow supply_fun to be modified by a negative number (ie a subsidy). It'd be great if you could extend the function to incorporate subsidies!

Thanks!!

Demand curve type='line' creates supply instead.

To fix, replace at line 82 in the demand.R file with this
if(type == "line") { curve <- data.frame(x = c(xmax, 0.9), y = c(0.9, ymax)) m <- TRUE }

Thanks for your work on this project -- I really like it!

Passing curves to supply() and demand() causes error

I love this package and I thank you very much for it. However, I am unable to pass a data.frame to supply() and demand() to override the sample curves. When I try to do so I receive this error:

Error in `geom_line()`:
! Problem while computing aesthetics.
โ„น Error occurred in the 1st layer.
Caused by error in `FUN()`:
! object 'y' not found

Note that the same is not true for sdcurve(): passing a data.frame with x and y columns works perfectly there.

It would be awesome if you could write an example on how to achieve the desired behavior in supply() and demand().

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.