Learn R Programming

i3pack (version 0.1.0)

lsq: Auxiliary Internal Functions

Description

Auxiliary Internal Functions

Auxiliary Internal Functions

Auxiliary Internal Functions

Usage

lsq(v, s)

max_ninf(x)

stat_mode(x)

Value

The "least squares" index of disproportionality

The maximum of a vector, after removing non-finite elements

Statistical mode

Arguments

v

vector of vote totals by party

s

vector with the seats received by each party.

x

Numeric vector