rmpg(inc, weights = NULL, sort = NULL, years = NULL,
breakdown = NULL, design = NULL, cluster = NULL,
data = NULL, 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 supdata
is not NULL
)
a character string, an integer or a logical vector
specifying the corresponding column of data
. If
supplied, the valuevar
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
integer var
is
not NULL
; either an integer vector or factor
giving different clusters for cluster sampling designs,
or (if data
is not NULL
) a character
string, an integer odata.frame
.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
."rmpg"
(which inherits from the
class "indicator"
) with the following components:data.frame
containing the
values by domain, or NULL
.NULL
if variance
estimation was omitted.NULL
.data.frame
containing the
variance estimates by domain, or NULL
.NULL
.data.frame
containing the
lower and upper endpoints of the confidence intervals by
domain, or NULL
.alpha
),
or NULL
.arpt
, variance
data(eusilc)
# overall value
rmpg("eqIncome", weights = "rb050", data = eusilc)
# values by region
rmpg("eqIncome", weights = "rb050",
breakdown = "db040", data = eusilc)
Run the code above in your browser using DataLab