ObservedRepresentation {DescriptiveRepresentationCalculator} | R Documentation |
Compute the observed degree of representation for any group in a political body
Description
Finds the degree of observed representation for any group in a political body.
Usage
ObservedRepresentation(BodyMemberCharacteristics, PopShares, BodyShares, a = -0.5, b = 1)
Arguments
BodyMemberCharacteristics |
A vector specifying the characteristics for members of a political body. |
PopShares |
A numeric vector specifying population shares of identities specified in the body-member characteristics input. The names of the entries in |
BodyShares |
(optional) A numeric vector with same structure as |
a , b |
Parameters controlling the affine transformation for how the representation measure is summarized.
That is, |
Value
The observed degree of representation (a scalar). By default, this quantity is the Rose Index of Proportionality.
Examples
ObsRep <- ObservedRepresentation(
BodyMemberCharacteristics = c("A","A","C","A","C","A"),
PopShares = c("A"=1/3,"B"=2/3, "C"=1/3))
print( ObsRep )