SciencesPo-deprecated: Deprecated functions in package 'SciencesPo'

Description Usage Arguments Details

Description

These functions are provided for compatibility with older versions of ‘SciencesPo’ only, and will be defunct at the next release.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
svTransform(y)

politicalDiversity(x, index = "laakso/taagepera", margin = 1,
  base = exp(1))

untable(x, ...)

detail(x, ...)

dummy(x, ...)

voronoi(x, ...)

normalize(x, ...)

outliers(x, ...)

destring(x, ...)

winsorize(x, ...)

Arguments

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.

Details

The following functions are deprecated and will be made defunct; use the replacement indicated below:


SciencesPo documentation built on May 29, 2017, 9:28 p.m.