
Methods getGroupsFormula.direct
, getGroupsFormula.ebp
and
getGroupsFormula.fh
extract the grouping formula from an
emdi object.
# S3 method for direct
getGroupsFormula(object, ...)# S3 method for ebp
getGroupsFormula(object, ...)
# S3 method for fh
getGroupsFormula(object, ...)
A one-sided formula.
an object of type "emdi", depending on the method either "direct", "ebp" or "fh".
additional arguments that are not used in this method.
The generic function getGroupsFormula
is imported from
package nlme and re-exported to make the S3-methods available, even though
the nlme package itself is not loaded or attached. For default documentation,
see getGroupsFormula
.
direct
, ebp
,
fh
, getGroupsFormula
# \donttest{
# Example for class ebp
emdi_model <- ebp(
fixed = eqIncome ~ gender + eqsize + cash + self_empl +
unempl_ben + age_ben + surv_ben + sick_ben + dis_ben + rent + fam_allow +
house_allow + cap_inv + tax_adj, pop_data = eusilcA_pop,
pop_domains = "district", smp_data = eusilcA_smp, smp_domains = "district",
na.rm = TRUE
)
getGroupsFormula(emdi_model)
# }
Run the code above in your browser using DataLab