Representation score Q

Description

Calculates the (potential) representation score Q.

Usage

1
scoreQ(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

The representation score is calculated as: 1/(sum(Z^2/R)).

Value

Representation score

Author(s)

Didier Ruedin


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.