Description Usage Arguments See Also Examples

Compute the normalized Gini heterogeneity index for a given discrete probability distribution.

1 | ```
gini(prob)
``` |

`prob` |
Vector of probability distribution or relative frequencies |

1 2 |

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.