Description
Functions to obtain an important number of electoral indicators described in the package, which can be divided into two large sections: The first would be the one containing the indicators of electoral disproportionality, such as, Rae index, Loosemore–Hanby index, etc. The second group is intended to study the dimensions of the party system vote, through the indicators of electoral fragmentation, polarization, volatility, etc. Moreover, multiple seat allocation simulations can also be performed based on different allocation systems, such as the D'Hondt method, Sainte-Laguë, etc. Finally, some of these functions have been built so that, if the user wishes, the data provided by the Spanish Ministry of Home Office for different electoral processes held in Spain can be obtained automatically. All the above will allow the users to carry out deep studies on the results obtained in any type of electoral process. The methods are described in: Oñate, Pablo and Ocaña, Francisco A. (1999, ISBN:9788474762815); Ruiz Rodríguez, Leticia M. and Otero Felipe, Patricia (2011, ISBN:9788474766226).
Downloads
239
Last 30 days
18869th
602
Last 90 days
2.2K
Last year
Trend: +23.2% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (21 non-OK)
CRAN incoming feasibility
Maintainer: ‘Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Miguel", "Rodríguez"),
family = "Asensio",
role = c("aut", "cre"),
email = "miguel.rodriguezasensio@gmail.com")
as necessary.
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
CRAN incoming feasibility
Maintainer: ‘Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Miguel", "Rodríguez"),
family = "Asensio",
role = c("aut", "cre"),
email = "miguel.rodriguezasensio@gmail.com")
as necessary.
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
dependencies in R code
Namespace in Imports field not imported from: ‘rmarkdown’ All declared Imports should be used.
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
dependencies in R code
Namespace in Imports field not imported from: ‘rmarkdown’ All declared Imports should be used.
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
LazyData
'LazyData' is specified without a 'data' directory
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
LazyData
'LazyData' is specified without a 'data' directory
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
LazyData
'LazyData' is specified without a 'data' directory
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Check History
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 6, 2026
CRAN incoming feasibility
Maintainer: ‘Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Miguel", "Rodríguez"),
family = "Asensio",
role = c("aut", "cre"),
email = "miguel.rodriguezasensio@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Miguel", "Rodríguez"),
family = "Asensio",
role = c("aut", "cre"),
email = "miguel.rodriguezasensio@gmail.com")
as necessary.
dependencies in R code
Namespace in Imports field not imported from: ‘rmarkdown’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘rmarkdown’ All declared Imports should be used.
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
ERROR 0 OK · 13 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
CRAN incoming feasibility
Maintainer: ‘Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Miguel", "Rodríguez"),
family = "Asensio",
role = c("aut", "cre"),
email = "miguel.rodriguezasensio@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Miguel", "Rodríguez"),
family = "Asensio",
role = c("aut", "cre"),
email = "miguel.rodriguezasensio@gmail.com")
as necessary.
dependencies in R code
Namespace in Imports field not imported from: ‘rmarkdown’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘rmarkdown’ All declared Imports should be used.
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Miguel", "Rodríguez"),
family = "Asensio",
role = c("aut", "cre"),
email = "miguel.rodriguezasensio@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Miguel", "Rodríguez"),
family = "Asensio",
role = c("aut", "cre"),
email = "miguel.rodriguezasensio@gmail.com")
as necessary.
dependencies in R code
Namespace in Imports field not imported from: ‘rmarkdown’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘rmarkdown’ All declared Imports should be used.
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^
Rd files
checkRd: (-1) polarizacion_Dalton.Rd:26: Lost braces; missing escapes or markup?
26 | {Pd = sqrt(sum(p_j*(x_j-mean(x_p))/4.5)^2)}
| ^
checkRd: (-1) reparto_div.Rd:37: Lost braces; missing escapes or markup?
37 | The set of divisors is formed by the odd numbers, that is {1,3,..,2n+1}.
| ^