[R] Function Gini or Ineq

John Kane jrkrideau at yahoo.ca
Fri Sep 3 20:13:45 CEST 2010


You installed the package but probably forgot to load the library.

This works fine for me.
=================================================================
library(reldist)
x<-c(541, 1463, 2445, 3438, 4437, 5401, 6392, 8304, 11904, 22261)
G<-gini(x)
================================================================
--- On Fri, 9/3/10, Mestat <mestat at pop.com.br> wrote:

> From: Mestat <mestat at pop.com.br>
> Subject: Re: [R] Function Gini or Ineq
> To: r-help at r-project.org
> Received: Friday, September 3, 2010, 1:07 PM
> 
> Hi Peng,
> I did that i installed the package RELDIST, but nothing
> happened. R does not
> recognize this function.
> Still looking for the solution.
> Thanks,
> Marcio
> -- 
> View this message in context: http://r.789695.n4.nabble.com/Function-Gini-or-Ineq-tp2525852p2525981.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org
> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>



More information about the R-help mailing list