# A Tool Set for Analyzing Political Behavior Data

## Documentation for package ‘SciencesPo’ version 1.4.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Code demos. Use demo() to run them.
- Package NEWS.

## Help Pages

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

SciencesPo-package | A Tool Set for Analyzing Political Behavior Data

## -- A --

align_title_left | Plot Customizing
align_title_right | Plot Customizing
alpha | A dataset that contains four test items
Anonymize | To Make Anonymous a Data Frame
Anonymize.default | To Make Anonymous a Data Frame
Atkinson | Atkinson Index of Inequality
Atkinson.default | Atkinson Index of Inequality
auto | Statistics of 1979 automobile models

## -- B --

Bartels | Bartels Rank Test of Randomness
Bartels.default | Bartels Rank Test of Randomness
baseball | Bradley Efron and Carl Morris ("Stein's Paradox in Statistics)
bhodrick93 | Bekaert's and Hodrick's (1993) Data
big5 | Big 5 dataset
bollen | Bollen Data on Industrialization and Political Democracy
Bootstrap | Method for Bootstrapping
Bootstrap.default | Method for Bootstrapping
Bootstrap.model | Method for Bootstrapping
bush | Approval Ratings for President George W. Bush

## -- C --

Calibrateplot | Calibrate Plot
cathedrals | Cathedrals
cgreene76 | Christensen's and Greene's (1976) Data
chismoke | Smoking and Lung Cancer in China
CI | An S4 Class to Confidence Intervals
Clear | Clear Memory of All Objects
Condorcet | Condorcet Voting
CountMissing | Count missing data.
Crosstable | Cross-tabulation
Crosstable.default | Cross-tabulation
CrossValidation | Cross Validation of SciencesPo Trees and Forests
CrossValidation.Forest | Cross Validation of SciencesPo Trees and Forests
CrossValidation.Tree | Cross Validation of SciencesPo Trees and Forests

## -- D --

ddirichlet | Dirichlet Distribution
Describe | Summary Description Table
destring | Deprecated functions in package 'SciencesPo'
Detail | Summary Description Table
detail | Deprecated functions in package 'SciencesPo'
dHondt | The D'Hondt Method of Allocating Seats Proportionally
Dirichlet | Dirichlet Distribution
Disproportionality | Indexes of (Disproportionality) Proportionality
Dummify | Generate Dummy Variables in a Data Frame
dummy | Deprecated functions in package 'SciencesPo'

## -- E --

election2008 | 2008 U.S. presidential election

## -- F --

Flag | Add an "id" Variable to a Dataset
Footnote | Add Footnote to ggplot2 Objects
Forge | Veritical, left-aligned layout for plots
Formatted | Some Formats for Nicer Display
Freq | Frequency Table
freq | Simple Frequency Table
freq.default | Simple Frequency Table
Frequency | Frequency Table
Frequency.default | Frequency Table

## -- G --

galton | Galton's Family Data on Human Stature.
GeomDumbbell | Dumbell charts
GeomLollipop | Lollipop charts
GeomSpotlight | Automatically enclose points in a polygon
geom_dumbbell | Dumbell charts
geom_lollipop | Lollipop charts
geom_spotlight | Automatically enclose points in a polygon
Gini | Gini Coefficient G
Gini.default | Gini Coefficient G
GiniSimpson | Gini-Simpson Index
GiniSimpson.default | Gini-Simpson Index
griliches76 | Griliches's (1976) Data

## -- H --

Hamilton | The Hamilton Method of Allocating Seats Proportionally
Herfindahl | Herfindahl Index of Concentration
Herfindahl.default | Herfindahl Index of Concentration
HighestAverages | Highest Averages Methods of Allocating Seats Proportionally
HighestAverages.default | Highest Averages Methods of Allocating Seats Proportionally

## -- J --

Jackknife | Resamples Data Using the Jackknife Method
JamesStein | James-Stein Shrunken Estimates

## -- K --

Kurtosis | Compute the Kurtosis

## -- L --

Label | Get Variable Label
Label<- | Set Variable Label
LargestRemainders | Largest Remainders Methods of Allocating Seats Proportionally
LargestRemainders.default | Largest Remainders Methods of Allocating Seats Proportionally
legend_bottom | Plot Customizing
legend_left | Plot Customizing
legend_right | Plot Customizing
legend_top | Plot Customizing
Lorenz | The Lorenz Curve
Lorenz.default | The Lorenz Curve
ltaylor96 | Lothian's and Taylor's (1996) Data Set

## -- M --

MakeNumeric | Clean up a character vector to make it numeric
MakeShare | Clean up a character vector to make it a percent
marriage | Same Sex Marriage Public Opinion Data
MeanFromRange | Estimates Mean and Standard Deviation from Median and Range
mishkin92 | Mishkin's (1992) Data
move_legend | Plot Customizing

## -- N --

nerlove63 | Marc Nerlove's (1963) data
Normalize | Unity-based normalization
normalize | Deprecated functions in package 'SciencesPo'
no_axes | Plot Customizing
no_axes_titles | Plot Customizing
no_gridlines | Plot Customizing
no_legend | Plot Customizing
no_legend_title | Plot Customizing
no_major_gridlines | Plot Customizing
no_major_x_gridlines | Plot Customizing
no_major_y_gridlines | Plot Customizing
no_minor_gridlines | Plot Customizing
no_minor_x_gridlines | Plot Customizing
no_minor_y_gridlines | Plot Customizing
no_ticks | Plot Customizing
no_title | Plot Customizing
no_x_axis | Plot Customizing
no_x_gridlines | Plot Customizing
no_x_line | Plot Customizing
no_x_text | Plot Customizing
no_x_ticks | Plot Customizing
no_x_title | Plot Customizing
no_y_axis | Plot Customizing
no_y_gridlines | Plot Customizing
no_y_line | Plot Customizing
no_y_text | Plot Customizing
no_y_ticks | Plot Customizing
no_y_title | Plot Customizing

## -- O --

Outlier | Detect Outliers
Outlier.default | Detect Outliers
outliers | Deprecated functions in package 'SciencesPo'

## -- P --

paired | Paired Data
Palettes | Palette data for the themes used by package
party_pal | Political Parties Color Palette (Discrete) and Scales
Permutate | Create k random permutations of a vector
Plotting | Plot Customizing
PoliticalDiversity | Political Diversity Indices
politicalDiversity | Deprecated functions in package 'SciencesPo'
PoliticalDiversity.default | Political Diversity Indices
pollster2008 | Polls for 2008 U.S. presidential election
Previewplot | Plot Customizing
PreviewTheme | Plot Customizing
Proportionality | Indexes of (Disproportionality) Proportionality
Proportionality.default | Indexes of (Disproportionality) Proportionality
pub_pal | Color Palettes for Publication (discrete)
pub_shapes | Shape scales for theme_pub (discrete)

## -- R --

rdirichlet | Dirichlet Distribution
read.zTree | Reads zTree output files
Recode | Recode or Replace Values With New Values
Recode.default | Recode or Replace Values With New Values
religiosity | Data on religiosity of countries
Render | Render layer on top of a ggplot
Rosenbluth | Rosenbluth Index of Concentration
Rosenbluth.default | Rosenbluth Index of Concentration
rotate_axes_text | Plot Customizing
rotate_x_text | Plot Customizing
rotate_y_text | Plot Customizing
RunShinyApp | Examples from the SciencesPo Package

## -- S --

scale_color_party | Political Parties Color Palette (Discrete) and Scales
scale_color_pub | Publication color scales.
scale_fill_party | Political Parties Color Palette (Discrete) and Scales
scale_fill_pub | Publication color scales.
scale_shape_pub | Shape scales for theme_pub (discrete)
Scatterplot | Quartile-Frame Scatterplot
SciencesPo | A Tool Set for Analyzing Political Behavior Data
SciencesPo-deprecated | Deprecated functions in package 'SciencesPo'
SciencesPoFont | SciencesPo Base Fonts
sheston91 | The Penn World Table
Simpson | Herfindahl Index of Concentration
Skewness | Compute the Skewness
stature | The Measure of US Presidents
Stratify | Stratified Sampling
summary.Crosstable | Print Crosstable style
svTransform | Deprecated functions in package 'SciencesPo'
swatson93 | Stock's and Watson's (1993) Data.

## -- T --

Tableplot | Tableplot: a Visualization of Datasets
Ternaryplot | Ternary Plot Build ternary plots.
theme_538 | Themes for ggplot2 Graphs
theme_blank | Create a Completely Empty Theme
theme_darkside | The Dark Side Theme
theme_fte | Themes for ggplot2 Graphs
theme_pub | The Default Theme
theme_scipo | The SciPo Theme
titanic | Titanic
Today | Print the current date in a pretty format
turnout | Turnout Data
twins | Burt's Twin Data
TwoWay | Cross Tabulation

## -- U --

unions | Poll attitudes towards British trade unions
Untable | Untable an Aggregated Data Frame
untable | Deprecated functions in package 'SciencesPo'
Untable.data.frame | Untable an Aggregated Data Frame
Untable.default | Untable an Aggregated Data Frame

## -- V --

Voronoi | Voronoi tessellation diagram
voronoi | Deprecated functions in package 'SciencesPo'
vote | Voting correlations

## -- W --

Waffleplot | Make waffle (square pie) charts
WeightedCorrelation | Compute Weighted Correlations
WeightedMean | Computes Weighted Mean
WeightedStdz | Computes Weighted Standardized Values
WeightedVariance | Weighted Variance
Winsorize | Winsorized Mean
winsorize | Deprecated functions in package 'SciencesPo'
words | Word frequencies from Mosteller and Wallace

## -- misc --

%nin% | Not in (Find Matching or Non-Matching Elements)