to_eipack: Convert an ei_summary to eipack wide format

View source: R/ei_summary.R

to_eipackR Documentation

Convert an ei_summary to eipack wide format

Description

Converts the margins element to a single wide data.frame where columns are named ⁠<RACE>_<OPTION>⁠ (e.g. PRE_R, PRE_D).

Usage

to_eipack(x)

Arguments

x

An "ei_summary" object.

Value

An "ei_summary" object with margins as a wide data.frame and meta$format == "eipack".

See Also

to_lphom(), ei_summary()


eiballots documentation built on Sept. 26, 2026, 5:06 p.m.