RCPA31.2.1 package

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

boxplotC

Generates box plots to compare interval-level dependent variable's dis...

CImean

Confidence interval of a dataset variable's sample mean in table and f...

CIprop

Confidence intervals of a dataset variable's sample proportions in tab...

compmeansC

Mean comparison analysis function, makes controlled comparisons, gener...

correlateC

Correlation analysis for two or more numeric variables, with options f...

CramersV

Calculates Cramer's V

crosstabC

Cross-tabulation analysis, option for weighting observations, makes co...

deprecated.functions

Deprecated functions (and how to still use them)

describeC

Generates table of descriptive statistics for one or more variables in...

fit.svyglm

Calculates model fit statistics for a svyglm linear regression model

freqC

Reports the frequency distribution of dataset variable with table and ...

getC

Imports common dataset file types into R environment

graph.info.functions

Reference information on graphics parameters, like colors, line types,...

histC

Creates histogram to show distribution of interval (numeric) variable'...

inverse.logit

Converts linear predictor to probability

lambda

Calculates Lambda, a measure of association for a cross-tabulation.

logregC

Logistic regression analysis with options for weighted observations, o...

logregR2

Logistic regression model fit statistics

orci

Translate logistic regression coefficients into odds ratios with confi...

pass.thru.functions

Imported Functions Made Available to Package Users

pchisqC

Compares full v. reduced logistic regression models with Chi-Squared t...

printC

Prints table of results to a .html file in local working directory

random.names

Generates random sample of nationally representative surnames

regC

Linear regression analysis (OLS regression), with options for weighted...

sampdistC

Plots probability and cumulative density functions (PDFs and CDFs) of ...

sortC

Sorts dataset observations by user-defined criteria to return case-lev...

tablesomersDC

Calculates the Somers' d measure of association for a cross-tabulation...

testmeansC

One and two-sample difference of means tests (t-tests) with confidence...

testpropsC

Tests the difference between two sample proportions, or difference bet...

transformC

Returns new variables by transforming existing dataset variables (e.g....

welcome

Welcomes new users to package with basic information, option to reset ...

widgetFactory

An interactive game to practice using R functions.

wtd.cor

Calculates Correlation Coefficient Between Two Numeric Variables Makes...

wtd.hist

Creates a Histogram Showing Distribution of Variable Values With Optio...

wtd.kurtosis

Generates Kurtosis Statistic with Option to Weight Observations

wtd.mean

Calculates Mean of Variable With Option for Weights

wtd.median

Find Median of Variable with Option to Weight Observations

wtd.mode

Find Mode of Variable with Option to Weight Observations

wtd.quantile

Finds the Quantile Values of Variable With Option for Weights

wtd.sd

Calculates Standard Deviation of Variable With Option for Weights

wtd.skewness

Calculates Skewness of Numeric Variable with Option to Weight Observat...

wtd.var

Calculates Variance of Variable With Option for Weights

Bundles the datasets and functions featured in Philip H. Pollock and Barry C. Edwards<https://edge.sagepub.com/pollock>, "An R Companion to Political Analysis, 3rd Edition," Thousand Oaks, CA: Sage Publications.

  • Maintainer: Barry Edwards
  • License: CC0
  • Last published: 2024-01-15