linpoormed(Y, id, weight=NULL, sort=NULL,
Dom=NULL, period=NULL, dataset = NULL,
percentage=60, order_quant=50,
var_name="lin_poormed")
data.frame
or variable name as character, column number or logical vector with only one TRUE
value (length of the vector hdata.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, coldata.frame
or variable names as character, column numbers or logicaldata.frame
.data.table
containing the estimated median income of individuals below the At Risk of Poverty Threshold.data.table
containing the linearized variables of the median income below the At Risk of Poverty Threshold.linarpt
, linrmpg
, varpoord
, vardcrospoor
, vardchangespoor
data(eusilc)
dati=data.frame(1:nrow(eusilc),eusilc)
colnames(dati)[1] <- "IDd"
# Full population
d <- linpoormed(Y="eqIncome", id="IDd", weight = "rb050", Dom=NULL,
dataset=dati, percentage=60, order_quant=50)
# Domains by location of houshold
dd <- linpoormed(Y="eqIncome", id="IDd", weight="rb050", Dom="db040",
dataset=dati, percentage=60, order_quant=50)
Run the code above in your browser using DataLab