linarpr(inc, id, weight = NULL,
income_thres = NULL, wght_thres = NULL,
sort = NULL, Dom = NULL, period = NULL, dataset = NULL,
percentage = 60, order_quant = 50, na.rm = FALSE,
var_name = "lin_arpr")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 data.frame or variable name as character, column number or logical vector with only one TRUE value (lendata.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 vectdata.frame or variable name as character, column number or logical vdata.frame.data.frame containing the estimated value of the quintale used for at-risk-of-poverty threshold estimation.data.frame containing the estimated at-risk-of-poverty threshold.data.frame containing the estimated at-risk-of-poverty rate. The estimates are done by domains if Dom is not NULL.data.frame containing the linearized variables of the poverty rate (in precentage). The linearized variables are computed by domains if Dom is not NULL.linarpt, vardom, varpoorddata(eusilc)
dati=data.frame(1:nrow(eusilc),eusilc)
colnames(dati)[1] <- "IDd"
d<-linarpr("eqIncome", id="IDd", weight = "rb050", Dom = NULL,
dataset = dati, percentage = 60, order_quant=50, na.rm = FALSE)
dd<-linarpr("eqIncome", id="IDd", weight = "rb050", Dom = "db040",
dataset = dati, percentage = 60, order_quant=50, na.rm = FALSE)Run the code above in your browser using DataLab