A Tool Set for Analyzing Political Behavior Data


[Up] [Top]

Documentation for package ‘SciencesPo’ version 1.02.12

Help Pages

A B C D E F G I J K L M N O P Q R S T U V W Z

SciencesPo-package A Tool Set For Analyzing Political Behavior Data

-- A --

addErrorBar Add Error Bars on the Graph
addFootnote Add Footnote to a ggplot Object
adj.residuals Adjusted Residuals
ageGroups Return a factor variable of age groups
anonymize Make Data Anonymous
around Find the Values Around a Particular Value
as.timedf A data.frame with time series parameters

-- B --

bhodrick93 Bekaert's and Hodrick's (1993) Data
binomcdf Binomial cumulative distribution function
binompdf Binomial probability density function
bootstrap Method for Bootstrap
bootstrap.default Method for Bootstrap
bootstrap.model Method for Bootstrap

-- C --

categories Extraction of Categorical Values as a Preprocessing Step for Making Dummy Variables
center Center Predictor Variables.
cgreene76 Christensen's and Greene's (1976) Data
colNames Column names as (always) a character vector
cross Factor cross products
cumlogit Cumulative Logit

-- D --

destring Convert Factors into Numeric Vectors
detachAll Detach All Data From the Memory
detail Method to Produce Descriptive Statistics Summary
dummy Generate dummy variables

-- E --

elapsed Return Elapsed Time in Years
electoralTool A Toolkit to analyze electoral data 'electoralTool' can be used to analyze both aggregate data and individual voting data.
eliminateNA Eliminate NA observations
ENPs Computes the Effective Number of Parties
exportData Writes a delimited text file

-- F --

factorize Conditionally convert vectors to factors
factorize.character Conditionally convert vectors to factors
factorize.data.frame Conditionally convert vectors to factors
factorize.default Conditionally convert vectors to factors
factorize.numeric Conditionally convert vectors to factors
fade Add transparency
fillin Make a data.frame Rectangular by filling missing records
fillNA Filling in missing values 'fillNA' uses values of a variable from one data set to fill in missing values in another.
fillNAByPreviousData Fill NA by Previous Value
followup Mark Followup Interviews by id and time
formatPercent Format a numeric proportion

-- G --

galton Galton's Family Data on Human Stature.
geary.test Geary's test for normality
griliches76 Griliches's (1976) Data

-- I --

info Get Information on Data Objects
invNormal Inverse Cumulative Standard Normal Distribution
isid Finds ID combination

-- J --

jackknife Resamples Data Using the Jackknife Method
joinLists Join a list of data frames

-- K --

kalmanPredict Kalman Filter Predict
kalmanUpdate Kalman Filter Update
keep Subset data
kurtosis Compute the Kurtosis

-- L --

labelvar Labels variables
linearAlgebra Functions for teaching linear algebra.
loglik Calculate the Log Likelihood of a Normal Distribution
lookup Lookup
lrtest Likelihood Ratio Test (LRT)
ltaylor96 Lothian's and Taylor's (1996) Data Set

-- M --

margins Puts Arbitrary Margins on Two-way Tables or Arrays
mat Functions for teaching linear algebra.
matching Matching
maxGaussian Maximize Gaussian
mc Generate Markov Chains
mi Identify Columns with at least one NA value
mishkin92 Mishkin's (1992) Data
mode Calculate the Mode
modify Modify data elements by their position
multiPlot Multiple ggplot objects

-- N --

nameSplit Splits name field variable
NAto0 Changes NAs in a vector into a given value
nearest Find the Nearest Value
nearest.loc Find Location of the Nearest Value
nerlove63 Marc Nerlove's (1963) data
normalcdf Normal Cumulative Distribution
normalize Unity-based normalization
normalize.character Unity-based normalization
normalize.default Unity-based normalization
normalize.factor Unity-based normalization
normalize.numeric Unity-based normalization
normalpdf Normal probability density function

-- O --

oddsRatio Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
orrr Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
otherNames Extracts names from a dataset other than the ones indicates
outliers Detect Outliers

-- P --

paired Paired Data
pause Pause
peek Show Observations Randomly Drawn from the Data
perc.table Express table entries as percentage of marginal table.
percentile Converts into percentile
perspBox Create an Empty Persp Plot
plotMC Plot Markov Chains
print.lrtest Method for printing lrtest
print.oddsRatio Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
print.relrisk Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
psum Parallel sum

-- Q --

quotize Places quotation marks

-- R --

rand.block Create Block-randomized Designs
rand.imput Random Imputation
rDirichlet Samples from Dirichlet distribution
read.zTree Reads zTree output files
recode Recode variable
relrisk Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
rename Rename a variable
rename.default Rename a variable
rename.pattern Rename a variable
rename.var Rename a variable
replaceCommas Replace commas by dots
reverseLevels Reverse the levels of a factor.
rleFrame Converts rle object to data.frame
rownames2col Rownames to column
rowSample Row Sample
rprob Pairwise Correlations With Probabilities
rstack Stacked Table With Correlations

-- S --

safeRequire Safe require
sampleCovariance Calculate the Sample Covariance
scale Scalling Method
scale.lm Scalling Method
SciencesPo A Tool Set For Analyzing Political Behavior Data
se Calculate the Standard Error
sheston91 The Penn World Table
shift Lag or Lead Observations
singvals Functions for teaching linear algebra.
skewness Compute the Skewness
slice Slice a vector
ssex Same Sex Marriage Public Opinion Data
std.error Calculate the Standard Error
stukel Stukel's test of the logistic link
summary.oddsRatio Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
summary.relrisk Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
svTransform Transform dependent variable
swatson93 Stock's and Watson's (1993) Data.

-- T --

tableau Proportion Table for Univariate Analysis
testAssociation Association tests for contingency tables
titanic Titanic
tobaccovote Tobacco Lobbying Data
trim Trim white spaces
trueMedian Calculates the true median
tsCollapse Aggregated Data by Time Parameters

-- U --

unnest Unnest a Nested List
unscale Unscale Data
us2012 US Presidential Election Opinion Polls
use Attach exclusively various file formats
userPrompt Prompt for User Action

-- V --

variation Pearson's Coefficient of Variation
vif Variance Inflation Factor

-- W --

watch Watch For Changes in a Data Object
weather NY Weather 1995-2014
weighted.var Weighted Variance
winsorize Winsorized Mean
wrap Wrap all related variables

-- Z --

zscore Compute z-scores