Learn R Programming

⚠️There's a newer version (1.4.1) of this package.Take me there.

SciencesPo (version 0.11.21)

A tool set for political behaviour data

Description

SciencesPo is a facility package for the political science crowd. It provides sound functions for analyzing random and nonrandom data, future updates will focus on innovative techniques published on relevant journals in the field of political science.

Copy Link

Version

Install

install.packages('SciencesPo')

Monthly Downloads

60

Version

0.11.21

License

LGPL (>= 2.0, < 3)

Maintainer

Daniel Marcelino

Last Published

November 22nd, 2014

Functions in SciencesPo (0.11.21)

bhodrick93

Bekaert's and Hodrick's (1993) Data
h2f

Shows the head and the foot lines of a data frame
detail

Descriptive Statistics Table
anonymize

Make Anonymous Data
nerlove63

Marc Nerlove's (1963) data
get.ci

Confidence interval of a vector.
SciencesPo-package

A tool set for political behavior data
ge2010

2010 British General Election Data
get.vif

Variance Inflation Factor
r2tex

Generate Latex Code
join.lists

Join lists
rename.files

Rename files recursively
as.beta

Standardized Beta Coefficients
shift

Lag and Lead Observations
kurtosis

Computes the Kurtosis
get.enp

The Effective Number of Parties
add.footnote

Footnote to ggplot object
mishkin92

Mishkin's (1992) Data
rescale

Rescaling as Z-scores and Centering
KFpredict

Kalman Filter Predict
cv

Computes Pearson's coefficient of variation
mGaussian

Maximize Gaussian
beta.parms

Returns alpha and beta parameters
sheston91

The Penn World Table
slice

Slice a vector
get.valid

Get valid observations in a data frame
cgreene76

Christensen's and Greene's (1976) Data
ltaylor96

Lothian's and Taylor's (1996) Data Set
on2011

2011 Ontario Election Results
winsor.mean

Winsorized Mean
soundexBR

Soundex Encoding For Portuguese BR
theme_minimalist

ggplot2 minimalist
swatson93

Stock's and Watson's (1993) Data.
us2012

US Presidential Election Opinion Polls
outtags

Remove String Tags
rstack

Produces a Stacked Table With Correlations
ggmodel

Diagnostic plots for models
skewness

Test for Skewness
griliches76

Griliches's (1976) Data
get.ts

Time series parameters made simple
reclassify

Attribute column classes
sample.df

Extract a simple random sample from a data frame
montreal

Juvenile Crimes in Montreal
unnest

Unnest lists.
rprob

Produces Pairwise Correlation and its Probability
add.alpha

Introduce transparency
lsq

Latin Square
rDirichlet

Sampling from Dirichlet distribution.
psum

Parallel sum
accent

Remove Accent Marks
get.years

Get date difference in years.
fptp2av

FPTP to AV
get.ipc

Computes the Intra-party Competition Index
resplot

Plot of residues
galton

Galton's Family Data on Human Stature.
get.mode

Estimates mode
dummy

Generate Dummy Variables
modify

Modify data elements
outliers

Detection of Outliers
KFupdate

Kalman Filter Update
tableau

Proportion Table for Univariate Analysis
vreplace

Replace elements
data.clean

Clean marks
se

Standard Error
tobaccovote

Tobacco Lobbying Data
sorter

Sort out a data frame