get_estimates2: Get estimates for XGBP

View source: R/poststratification.R

get_estimates2R Documentation

Get estimates for XGBP

Description

get_estimates2 aggregates and returns estimates from a XGBP object. In this version, marginals are based on ... variables.

Usage

get_estimates2(xgbp_out, ..., pivot = FALSE)

Arguments

xgbp_out

A xgbp object returned by the xgbp function

...

Group-level covars to aggregate results (leave blank for sample-level estimates)

pivot

Should the resuling table be pivoted to wider format? Defaults to FALSE

Examples

## Not run: 
get_estimates(xgbp_out)

## End(Not run)


meirelesff/xgbp documentation built on Sept. 24, 2022, 1:48 p.m.