Description Usage Arguments Value Examples
View source: R/Electoral_index.R
This indicator is also known as the robust bias index. Its value is obtained by using the slope of the well-known "Tuckey Line" and its use is recommended when there is a "small" group of parties that behave significantly differently from the rest. This procedure is qualified as "robust" because the presence of behaviors of certain parties different from the rest does not substantially alter the line obtained, unlike what happened when it was used in the least squares criteria to make the regression adjustment.#'
1 | L_Tukey(votes, seats)
|
votes |
It is a vector of integers, containing the votes of all the candidates. |
seats |
It is a vector of integers, containing the seats obtained by each of the candidates. |
Returns the value obtained for the index
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.