Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (1.4.1) of this package.
Take me there.
SciencesPo (version 1.02.12)
A Tool Set for Analyzing Political Behavior Data
Description
A data analysis tool for the political science crowd for ease analyzing random and nonrandom data.
Copy Link
Link to current version
Version
Version
1.4.1
1.4.0
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.02.12
0.11.21
0.05.21
0.03.21
0.3.8.27
Install
install.packages('SciencesPo')
Monthly Downloads
120
Version
1.02.12
License
LGPL (>= 2.0, < 3)
Maintainer
Daniel Marcelino
Last Published
February 14th, 2015
Functions in SciencesPo (1.02.12)
Search all functions
geary.test
Geary's test for normality
around
Find the Values Around a Particular Value
SciencesPo
A Tool Set For Analyzing Political Behavior Data
ltaylor96
Lothian's and Taylor's (1996) Data Set
bhodrick93
Bekaert's and Hodrick's (1993) Data
as.timedf
A data.frame with time series parameters
lrtest
Likelihood Ratio Test (LRT)
mi
Identify Columns with at least one NA value
colNames
Column names as (always) a character vector
multiPlot
Multiple ggplot objects
addErrorBar
Add Error Bars on the Graph
print.lrtest
Method for printing lrtest
followup
Mark Followup Interviews by id and time
lookup
Lookup
fade
Add transparency
ageGroups
Return a factor variable of age groups
NAto0
Changes NAs in a vector into a given value
center
Center Predictor Variables.
addFootnote
Add Footnote to a ggplot Object
perspBox
Create an Empty Persp Plot
se
Calculate the Standard Error
cross
Factor cross products
keep
Subset data
sampleCovariance
Calculate the Sample Covariance
adj.residuals
Adjusted Residuals
fillNAByPreviousData
Fill NA by Previous Value
elapsed
Return Elapsed Time in Years
fillin
Make a data.frame Rectangular by filling missing records
safeRequire
Safe require
maxGaussian
Maximize Gaussian
factorize
Conditionally convert vectors to factors
mishkin92
Mishkin's (1992) Data
jackknife
Resamples Data Using the Jackknife Method
outliers
Detect Outliers
reverseLevels
Reverse the levels of a factor.
pause
Pause
ssex
Same Sex Marriage Public Opinion Data
plotMC
Plot Markov Chains
use
Attach exclusively various file formats
normalcdf
Normal Cumulative Distribution
quotize
Places quotation marks
us2012
US Presidential Election Opinion Polls
eliminateNA
Eliminate NA observations
ENPs
Computes the Effective Number of Parties
exportData
Writes a delimited text file
kalmanPredict
Kalman Filter Predict
recode
Recode variable
modify
Modify data elements by their position
cumlogit
Cumulative Logit
nearest.loc
Find Location of the Nearest Value
griliches76
Griliches's (1976) Data
trim
Trim white spaces
linearAlgebra
Functions for teaching linear algebra.
kalmanUpdate
Kalman Filter Update
kurtosis
Compute the Kurtosis
labelvar
Labels variables
detachAll
Detach All Data From the Memory
wrap
Wrap all related variables
joinLists
Join a list of data frames
rename
Rename a variable
rowSample
Row Sample
categories
Extraction of Categorical Values as a Preprocessing Step for Making Dummy Variables
rand.block
Create Block-randomized Designs
destring
Convert Factors into Numeric Vectors
formatPercent
Format a numeric proportion
psum
Parallel sum
matching
Matching
tableau
Proportion Table for Univariate Analysis
rleFrame
Converts rle object to data.frame
cgreene76
Christensen's and Greene's (1976) Data
nearest
Find the Nearest Value
galton
Galton's Family Data on Human Stature.
binompdf
Binomial probability density function
nameSplit
Splits name field variable
tobaccovote
Tobacco Lobbying Data
mode
Calculate the Mode
binomcdf
Binomial cumulative distribution function
svTransform
Transform dependent variable
unscale
Unscale Data
isid
Finds ID combination
margins
Puts Arbitrary Margins on Two-way Tables or Arrays
nerlove63
Marc Nerlove's (1963) data
otherNames
Extracts names from a dataset other than the ones indicates
rDirichlet
Samples from Dirichlet distribution
normalpdf
Normal probability density function
slice
Slice a vector
percentile
Converts into percentile
swatson93
Stock's and Watson's (1993) Data.
userPrompt
Prompt for User Action
electoralTool
A Toolkit to analyze electoral data
electoralTool
can be used to analyze both aggregate data and individual voting data.
replaceCommas
Replace commas by dots
rstack
Stacked Table With Correlations
trueMedian
Calculates the true median
variation
Pearson's Coefficient of Variation
sheston91
The Penn World Table
mc
Generate Markov Chains
stukel
Stukel's test of the logistic link
titanic
Titanic
tsCollapse
Aggregated Data by Time Parameters
winsorize
Winsorized Mean
unnest
Unnest a Nested List
skewness
Compute the Skewness
dummy
Generate dummy variables
watch
Watch For Changes in a Data Object
fillNA
Filling in missing values
fillNA
uses values of a variable from one data set to fill in missing values in another.
weighted.var
Weighted Variance
vif
Variance Inflation Factor
rownames2col
Rownames to column
scale
Scalling Method
zscore
Compute z-scores
shift
Lag or Lead Observations
normalize
Unity-based normalization
orrr
Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
peek
Show Observations Randomly Drawn from the Data
info
Get Information on Data Objects
read.zTree
Reads zTree output files
perc.table
Express table entries as percentage of marginal table.
paired
Paired Data
rprob
Pairwise Correlations With Probabilities
testAssociation
Association tests for contingency tables
anonymize
Make Data Anonymous
bootstrap
Method for Bootstrap
detail
Method to Produce Descriptive Statistics Summary
loglik
Calculate the Log Likelihood of a Normal Distribution
weather
NY Weather 1995-2014
rand.imput
Random Imputation
invNormal
Inverse Cumulative Standard Normal Distribution