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 <mes...@pop.com.br> wrote:
> From: Mestat <mes...@pop.com.br> > Subject: Re: [R] Function Gini or Ineq > To: r-help@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@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. > ______________________________________________ R-help@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.