| abortion | Haberman's Abortion, Education, and Religion Data |
| allPossiblePermutations | perms |
| anonymize | To Make Anonymous a Data Frame |
| ArialNarrow | Arial Narrow font name R variable aliases |
| AsNumeric | Clean up a character vector to make it numeric |
| AsShare | Clean up a character vector to make it a percent |
| atkinson | Atkinson Index of Inequality |
| bootstrap | Method for Bootstrapping |
| checkThemeFonts | SciencesPo Base Fonts |
| color_party | Political Parties Color Palette (Discrete) and Scales |
| Condorcet | Condorcet Voting |
| Crosstable | Cross-tabulation |
| describe | Summary Statistics Table |
| dHondt | The D'Hondt Method of Allocating Seats Proportionally |
| Dummify | Generate Dummy Variables in a Data Frame |
| exportData | Export data in a tabular file |
| exportPlot | Export a plot as PDF, EPS and PNG at once |
| fill_party | Political Parties Color Palette (Discrete) and Scales |
| findMode | Find the most frequently occurring value (mode) |
| fontSelector | Font selector, internal helper function |
| Footnote | Add Footnote to ggplot2 Objects |
| Formatted | Some Formats for Nicer Display |
| freq | Simple Frequency Table |
| Frequency | Frequency Table |
| geometricMean | Calculate a geometric mean |
| getDirichletDensity | The Dirichlet-Multinomial Distribution |
| getDirichletSamples | The Dirichlet-Multinomial Distribution |
| gini | Gini Coefficient G |
| haberman | Haberman's Positive Margin no Three-way Interaction MLE |
| hamilton | The Hamilton Method of Allocating Seats Proportionally |
| harmonicMean | Calculate a harmonic mean |
| herfindahl | Herfindahl Index of Concentration |
| highestAverages | Highest Averages Methods of Allocating Seats Proportionally |
| is.discrete | Determine if a vector is discrete. |
| is.empty | Check if a data frame is empty. |
| is.formula | Is a formula? Checks if argument is a formula |
| jackknife | Resamples Data Using The Jackknife Method |
| largestRemainders | Largest Remainders Methods of Allocating Seats Proportionally |
| list_palettes | List all available palettes |
| lorenz | The Lorenz Curve |
| modalValue | Compute the Modal Value (Mode) |
| myTab | 'Rcpp' table function is faster than 'base::table' R... |
| normalize | Unity-based normalization |
| normalizeVariableNames | Normalize Variable Names |
| normalTransform | Normal transformation |
| PairCount | Condorcet Voting |
| palette | Load a palette in hex definition |
| palette_info | Show details of specific palette |
| party_pal | Political Parties Color Palette (Discrete) and Scales |
| Permutate | Create k random permutations of a vector |
| pipe | Pipe operator |
| plot_palettes | Plot available palettes |
| Plotting | Plot Customizing |
| politicalDiversity | Political Diversity Indices |
| politics | Politics by Personality |
| Print method for objects of class 'SciencesPo'. | |
| proportionality | Indexes of (Disproportionality) Proportionality |
| prune | Prune a numeric vector |
| pub_shapes | Shape scales for theme_pub (discrete) |
| recodeValues | Recode or Replace Values With New Values |
| Render | Render layer on top of a ggplot |
| rescale | Rescale a numeric vector |
| RunShinyApp | Examples from the SciencesPo Package |
| scale_manual | SciencesPo colors and fills for ggplot2. |
| scale_x_percent | X & Y scales with opinionated pre-sets for percent & comma... |
| Schulze | Condorcet Voting |
| SciencesPo | A Tool Set for Analyzing Political Behavior Data |
| SciencesPo.Palettes | Palette data for the themes used by package |
| shape_pub | Shape scales for theme_pub (discrete) |
| Simpson | Gini-Simpson Index |
| Sortfactors | Re-sort Factor Levels by Frequency |
| Stratify | Randomly sub-sample data (stratified sampling) |
| summary.Crosstable | Print Crosstable style |
| Tab | Rcpp table function is faster than base R |
| tabMerge | A c++ implementation of the tabMerge function |
| theme_base | A completely blank theme |
| theme_blank | Create a Completely Empty Theme |
| theme_darkside | The Dark Side Theme |
| theme_flex | A Flex Theme |
| theme_plus | ggplot2 theme |
| theme_pub | SciencesPo Publication Theme |
| Today | Print the current date in a pretty format |
| TwoWay | Cross Tabulation |
| unrowname | Un-rowname. |
| untable | Untable an Aggregated Data Frame |
| update_geom_font_defaults | Update matching font defaults for text geoms |
| weightedGeometricMean | Calculate a weighted geometric mean |
| weightedHarmonicMean | Calculate a weighted harmonic mean |
| WeightedVariance | Weighted variance |
| Winsorize | Winsorized Mean |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.