Re: [R] Compute the Gini coefficient

2016-03-31 Thread Marine Regis
ice day. Marine De : Achim Zeileis <achim.zeil...@uibk.ac.at> Envoyé : mercredi 30 mars 2016 12:05 À : Erich Neuwirth Cc : Marine Regis; r-help@r-project.org Objet : Re: [R] Compute the Gini coefficient On Wed, 30 Mar 2016, Erich Neuwirth wrote: >

Re: [R] Compute the Gini coefficient

2016-03-30 Thread Achim Zeileis
On Wed, 30 Mar 2016, Erich Neuwirth wrote: On 30 Mar 2016, at 02:53, Marine Regis wrote: Hello, I would like to build a Lorenz curve and calculate a Gini coefficient in order to find how much parasites does the top 20% most infected hosts support. Here is my data

Re: [R] Compute the Gini coefficient

2016-03-30 Thread Erich Neuwirth
> On 30 Mar 2016, at 02:53, Marine Regis wrote: > > Hello, > > I would like to build a Lorenz curve and calculate a Gini coefficient in > order to find how much parasites does the top 20% most infected hosts support. > > Here is my data set: > > Number of parasites

[R] Compute the Gini coefficient

2016-03-29 Thread Marine Regis
Hello, I would like to build a Lorenz curve and calculate a Gini coefficient in order to find how much parasites does the top 20% most infected hosts support. Here is my data set: Number of parasites per host: parasites = c(0,1,2,3,4,5,6,7,8,9,10) Number of hosts associated with each number