scoreD: Representation score D

Description Usage Arguments Details Value Author(s)

View source: R/scoreD.R

Description

Calculates the (potential) representation score D.

Usage

1
scoreD(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

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

Value

Representation score

Author(s)

Didier Ruedin



polrep documentation built on May 21, 2017, 3:32 a.m.
Search within the polrep package
Search all R packages, documentation and source code

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

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

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