search for: dgtot

Displaying 1 result from an estimated 1 matches for "dgtot".

Did you mean: agtot
2008 Feb 11
1
Gini index of frequencies in a data frame
Dear All, I wish to calculate the Gini index (ineq from same package) and some other indices for the diameter distribution of each plot (df dgtot). dgtot: IDPlot Diameter(cm) 1 4 34.0 2 4 23.0 3 4 38.0 ... 51 5 16.0 52 5 8.0 53 5 9.0 ... 5301 140 25.0 5302 140 12.0 5303 140 7.0 I use: > aggregate(dgtot,by=list(dgtot$IDSupr),FUN=ineq(dsp)) where dsp <- function(x) # com...