print.prcalc_index: Printing a 'prcalc_index' object.

print.prcalc_indexR Documentation

Printing a prcalc_index object.

Description

Printing a prcalc_index object.

Usage

## S3 method for class 'prcalc_index'
print(x, subset = NULL, hide_id = FALSE, use_gt = FALSE, digits = 3, ...)

Arguments

x

a prcalc_index object.

subset

a

hide_id

a

use_gt

a

digits

the number of decimal places. Default is 3.

...

ignored.

Examples

data(jp_upper_2019)

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

index(pr_obj)

index(pr_obj) |>
  print(subset = c("lh", "gallagher", "rae", "dhondt", "ad"))

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