I've got the problem with calculating Gini coefficient and drawing Lorenz curve in R for credit scoring data.
My raw data is in following columns: client number (Col A), scoring points (Col B), bad/good (0 - good or 1 - bad) (Col C).
Which package should I use and how to calculate Gini Index and draw Lorenz curve for my data?
Thank you in advance.