Main function for GEM models

Description Usage Arguments See Also Examples

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

1 | ```
gini(m,prob)
``` |

`m` |
Number of categories |

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

1 2 3 |

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.