
eqSS(hid, age, year = NULL, data = NULL)
data=NULL
, a vector containing the
household ID. Otherwise a character string specifying the
column of data
that contains the household ID.data=NULL
, a vector containing the
age of the individuals. Otherwise a character string
specifying the column of data
that contains the
age.data=NULL
, a vector containing the
year of the survey. Otherwise a character string
specifying the column of data
that contains the
year.data.frame
containing EU-SILC survey
data, or NULL
.data
.eqInc
data(eusilc)
# calculate equivalized household size
eqSS <- eqSS("db030", "age", data=eusilc)
# combine with household ID and household size
tmp <- cbind(eusilc[, c("db030", "hsize")], eqSS)
# show the first 8 rows
head(tmp, 8)
Run the code above in your browser using DataLab