poliscidata2.3.0 package

Datasets and Functions Featured in Pollock and Edwards, an R Companion to Essentials of Political Analysis, Second Edition

AdjR2

Calculates adjusted R-Squared statistic

available.imported.functions

Imported Functions Made Available to Users

CI95

Calculates a 95 Percent Confidence Interval

CI99

Calculates a 99 Percent Confidence Interval

Colors

Displays R Colors

colPercents

Column Percentages

compADPQ

Calculates a statistic for measure of association in cross-tabulation

CramersV

Calculates Cramer's V

fit.svyglm

Calculates model fit statistics for a svyglm weighted regression model

freqC

Generates table and figure describing distribution of variable values.

imeansC

Controlled Mean Comparison Table

inverse.logit

Calculates predicted probability for a given logged odds value

iplotC

Interaction plot

lineType

Displays line types for R plots

logregR2

Logistic regression model statistics

orci

Translate logistic regression coefficients into odds ratios

pchisqC

Comparing Logistic Regression Models with Chi-Squared Test

plotChar

Displays plotting characters available in R

plotmeansC

Plots mean comparison

printC

Prints html-ready table to local working directory

prop.testC

Difference of Proportions Test

quickConsolePrint

Prints string to console quickly

SetTextContrastColor

Sets contrasting color for text

slowConsolePrint

Prints string to console slowly

somersD

Calculates Somer's D

sortC

Returns case-level information in order

svybyC

Computes summary statistics

svychisqC

Chi-Squared Statistic for Relationship Between Categorical Variables u...

tablesomersDC

Produces summary statistics

welcome

Function to Introduce Users to R Companion Environment

wtd.boxplot

Weighted Box Plot

wtd.median

Find Median of Variable

wtd.mode

Find Mode of Variable

wtd.sd

Find Standard Deviation of Variable

wtd.ttestC

Weighted T-Test

xtabC

Controlled cross tabulation analysis with optional weights

xtp.chi2

Cross tabulation Analysis with Chi-Squared Statistic

xtp

Cross tabulation Analysis

Bundles the datasets and functions used in the textbook by Philip Pollock and Barry Edwards, an R Companion to Essentials of Political Analysis, Second Edition.

  • Maintainer: Barry Edwards
  • License: CC0
  • Last published: 2020-07-06