Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to calculate gini coefficient and draw a lorenz curve in R?

Hey guys

 

I'm here with a more economic question this time.

Does anyone know how to calculate the gini coefficient and draw a lorenz curve in R with the following data:

 

Taken Fruits         Rate

 

0                            2

1                            3

2                            2

3                            5

 

I especially need help with the commands. I just don't have those commands that I need.

So far I put the numbers in but don't know how to do the rest.

 

Thanks in advance!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×