Description Usage Arguments Details
These functions are provided for compatibility with older versions of ‘SciencesPo’ only, and will be defunct at the next release.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
y |
the dependent variable. |
x |
A data.frame, a matrix-like, or a vector containing values for the number of votes or seats each party received. |
index |
The type of index desired, one of "laakso/taagepera", "golosov", "herfindahl", "gini", "shannon", "simpson", "invsimpson". |
margin |
The margin for which the index is computed. |
base |
The logarithm base used in some indices, such as the "shannon" index. |
... |
Extra parameters. |
The following functions are deprecated and will be made defunct; use the replacement indicated below:
svTransform: Normalize
untable: Untable
politicalDiversity: PoliticalDiversity
winsorize: Winsorize
recode: Recode
dummy: Dummify
gini: Gini
clear: Clear
detail: Destring
destring: Destring
outliers: Outlier
voronoi: Voronoi
jackknife: Jackknife
bootstrap: Bootstrap
normalize: Normalize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.