Lorenz Curve and Gini Calculation for when # events < # units of analysis

gini | Calculates the (generalized) Gini coefficient |

lorenz | Plots the (generalized) Lorenz Curve. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.