R/dHondt.R

Defines functions dHondt

Documented in dHondt

dHondt <- function(Z,R) {
  # z <- length(Z)
  # r <- length(R)
  # max(R[2:r]/Z[2:z])
  max(R/Z)
  }

Try the polrep package in your browser

Any scripts or data that you put into this service are public.

polrep documentation built on Jan. 5, 2024, 3:01 a.m.