arpr(inc, weights = NULL, sort = NULL, years = NULL,
breakdown = NULL, design = NULL, data = NULL, p = 0.6,
var = NULL, alpha = 0.05, na.rm = FALSE, ...)data is not NULL) a character string, an integer or a
logical vector specifying the corresponding column of data.data is not NULL) a character string, an
integer or a logical vector specifying the corresponding column of
data.data is not NULL) a
character string, an integer or a logical vector specifying the
corresponding column of <data is not NULL) a character string,
an integer or a logical vector specifying the corresponding column of
data. If data is not NULL) a character string, an integer or a
logical vector specifying the corresponding column of data. If
supplied, the valvar is not NULL; either
an integer vector or factor giving different strata for stratified sampling
designs, or (if data is not NULL) a character string, an
integdata.frame.arpt).NULL to omit variance estimation. See
variance for possible values.var is not NULL, this gives the
significance level to be used for computing the confidence interval
(i.e., the confidence level is $1 -$alpha).var is not NULL, additional arguments to be
passed to variance."arpr" (which inherits from the class
"indicator") with the following components:data.frame containing the values by stratum,
or NULL.NULL if variance estimation was omitted.NULL.data.frame containing the variance estimates by
stratum, or NULL.NULL.data.frame containing the lower and upper
endpoints of the confidence intervals by stratum, or NULL.alpha), or NULL.arpt, variancedata(eusilc)
# overall value
arpr("eqIncome", weights = "rb050", data = eusilc)
# values by region
arpr("eqIncome", weights = "rb050",
breakdown = "db040", data = eusilc)Run the code above in your browser using DataLab