lingini(inc, id = NULL, weight = NULL,
sort = NULL, Dom = NULL, period=NULL,
dataset = NULL, na.rm = FALSE,
var_name="lin_gini")data.frame or variable name as character, column number or logical vector with only one TRUE value (length of the vectordata.frame or variable name as character, column number or logical vector with only one TRUE value (length of the vector has to be the same as data.frame or variable name as character, column number or logical vector with only one TRUE value (length of the vector has to be the same as the column data.frame or variable name as character, column number or logical vector with only one TRUE value (length of the vector hadata.frame or variable names as character vector, column numbers or logical vector (length of the vdata.frame or variable names as character, column numbers or logical vector (length of the vector has to be the sadata.frame.data.frame containing the estimated GINI coefficients (in percentage) by G. Osier and Eurostat papers.data.frame containing the linearized variables of the GINI coefficients (in percentage) by G. Osier paper.lingini2, linqsr, varpoorddata(eusilc)
dati <- data.frame(1:nrow(eusilc),eusilc)[1:3,]
colnames(dati)[1] <- "IDd"
dat1 <- lingini("eqIncome","IDd",weight = "rb050",Dom=c("db040"),dataset=dati)
dat2 <- lingini("eqIncome","IDd",weight = "rb050",dataset=dati)
dat1$value
dat2$valueRun the code above in your browser using DataLab