get_estimates: Get estimates for XGBP

View source: R/poststratification.R

get_estimatesR Documentation

Get estimates for XGBP

Description

get_estimates aggregates and returns estimates from a XGBP object.

Usage

get_estimates(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.