decompose2: Decomposition using a 'prcalc' object with two-step.

View source: R/decompose2.R View source: R/decompose2.R

decompose2R Documentation

Decomposition using a prcalc object with two-step.

Description

Decomposition using a prcalc object with two-step.

Usage

decompose2(x, alpha = 2, ...)

decompose2(x, alpha = 2, ...)

Arguments

x

a prcalc object.

alpha

Default is 2 and it must be larger than 0.

...

ignored

Value

a prcalc_decomposition object.

References

  • Yuta, Kamahara. "The Desired Political Entropy as the Measure of Unequal Representation: Disproportionality and Malapportionment". Working paper.

See Also

decompose, decompose3

Examples

# Using a prcalc object
data(jp_lower_2021)

obj <- prcalc(jp_lower_2021,
              m = c(8, 14, 20, 21, 17, 11, 21, 30, 11, 6, 21),
              method = "hare")

decompose2(obj)

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