Data and Functions for R Companion to Political Analysis 3rd Ed


[Up] [Top]

Documentation for package ‘RCPA3’ version 1.2.1

Help Pages

boxplotC Generates box plots to compare interval-level dependent variable's distribution across categories of independent variable.
CImean Confidence interval of a dataset variable's sample mean in table and figure
CIprop Confidence intervals of a dataset variable's sample proportions in table and figure
compmeansC Mean comparison analysis function, makes controlled comparisons, generates plots, performs ANOVA
correlateC Correlation analysis for two or more numeric variables, with options for scatterplots, weighted observations, and inferential statistics.
crosstabC Cross-tabulation analysis, option for weighting observations, makes controlled comparisons, generates plots, performs Chi-Square test, measures strength of association
debate Debate Experiment dataset for R Companion to Political Analysis, Third Edition
describeC Generates table of descriptive statistics for one or more variables in a dataset
freqC Reports the frequency distribution of dataset variable with table and bar chart
getC Imports common dataset file types into R environment
histC Creates histogram to show distribution of interval (numeric) variable's values
logregC Logistic regression analysis with options for weighted observations, odds ratio reports, model fit statistics, and plots of residuals
nes NES dataset for R Companion to Political Analysis, Third Edition
printC Prints table of results to a .html file in local working directory
regC Linear regression analysis (OLS regression), with options for weighted observations, diagnostic tests, and plots of residuals
sampdistC Plots probability and cumulative density functions (PDFs and CDFs) of sample statistics
sortC Sorts dataset observations by user-defined criteria to return case-level information
states States dataset for R Companion to Political Analysis, Third Edition
testmeansC One and two-sample difference of means tests (t-tests) with confidence intervals.
testpropsC Tests the difference between two sample proportions, or difference between sample proportion and hypothesized value, with options for weighted observations, confidence intervals
transformC Returns new variables by transforming existing dataset variables (e.g. dummy variables, standardized variables, rank orders)
welcome Welcomes new users to package with basic information, option to reset user's working environment
widgetFactory An interactive game to practice using R functions.
world World dataset for R Companion to Political Analysis, Third Edition