summary.prcalc: Summrizing a 'prcalc' object.

View source: R/summary.R

summary.prcalcR Documentation

Summrizing a prcalc object.

Description

Summrizing a prcalc object.

Usage

## S3 method for class 'prcalc'
summary(object, prop = FALSE, use_gt = FALSE, digits = 3, ...)

Arguments

object

a prcalc object.

prop

If TRUE, voteshare and seatshare are displayed. Default is FALSE.

use_gt

If TRUE, a table is rendered using {gt} package. Default is FALSE.

digits

the number of decimal places. Default is 3.

...

ignored.

See Also

print.prcalc

Examples

data(jp_upper_2019)
jp2019 <- prcalc(jp_upper_2019, m = 50, method = "dt")

summary(jp2019)


JaehyunSong/PRcalc documentation built on April 17, 2024, 1:23 p.m.