data science

Inequality and Lorenz Curve – R

Inspired by the train-wreck that was yesterday’s post, I was able to find a better solution to calculating inequality and plotting Lorenz Curves using the ineq library in R. EDIT: gini() in the reldist package also works. Installing and loading the Library Download and install Now load the library The Data I have a frequency […]