Learn R Programming

povmap (version 1.0.1)

ebp_reportcoef_table: Produce coefficient table for reporting

Description

This function takes the object of class 'ebp' to present the regression model results having specified the number of decimal places.

Usage

ebp_reportcoef_table(model, decimals = 3)

Value

dataframe with regression model results

Arguments

model

an object returned by the ebp function of type "emdi ebp", representing point and MSE estimates

decimals

the number of decimals to report on coefficient estimates

Examples

Run this code
# \donttest{
data("eusilcA_pop")
data("eusilcA_smp")

ebp_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",
 L = 2, na.rm = TRUE)

ebp_reportcoef_table(ebp_model, 4)

# }

Run the code above in your browser using DataLab