Learn R Programming

poliscidata (version 2.3.0)

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

Description

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.

Copy Link

Version

Install

install.packages('poliscidata')

Monthly Downloads

772

Version

2.3.0

License

CC0

Maintainer

Last Published

July 6th, 2020

Functions in poliscidata (2.3.0)

CI95

Calculates a 95 Percent Confidence Interval
logregR2

Logistic regression model statistics
inverse.logit

Calculates predicted probability for a given logged odds value
gssD

GSS design dataset for R Companion to Essentials of Political Analysis, Second Edition
nesD

NES design dataset for R Companion to Essentials of Political Analysis, Second Edition
freqC

Generates table and figure describing distribution of variable values.
iplotC

Interaction plot
imeansC

Controlled Mean Comparison Table
lineType

Displays line types for R plots
nes

NES dataset for R Companion to Essentials of Political Analysis, Second Edition
printC

Prints html-ready table to local working directory
xtabC

Controlled cross tabulation analysis with optional weights
sortC

Returns case-level information in order
wtd.ttestC

Weighted T-Test
somersD

Calculates Somer's D
pchisqC

Comparing Logistic Regression Models with Chi-Squared Test
gss

GSS dataset for R Companion to Essentials of Political Analysis, Second Edition
orci

Translate logistic regression coefficients into odds ratios
plotChar

Displays plotting characters available in R
svybyC

Computes summary statistics
svychisqC

Chi-Squared Statistic for Relationship Between Categorical Variables using Weighted Dataset
prop.testC

Difference of Proportions Test
quickConsolePrint

Prints string to console quickly
states

States dataset for R Companion to Essentials of Political Analysis, Second Edition
statesD

States design dataset for R Companion to Essentials of Political Analysis, Second Edition
wtd.boxplot

Weighted Box Plot
slowConsolePrint

Prints string to console slowly
wtd.median

Find Median of Variable
tablesomersDC

Produces summary statistics
xtp

Cross tabulation Analysis
plotmeansC

Plots mean comparison
xtp.chi2

Cross tabulation Analysis with Chi-Squared Statistic
welcome

Function to Introduce Users to R Companion Environment
wtd.mode

Find Mode of Variable
wtd.sd

Find Standard Deviation of Variable
world

World dataset for R Companion to Essentials of Political Analysis, Second Edition
worldD

World design dataset for R Companion to Essentials of Political Analysis, Second Edition
Colors

Displays R Colors
compADPQ

Calculates a statistic for measure of association in cross-tabulation
fit.svyglm

Calculates model fit statistics for a svyglm weighted regression model
AdjR2

Calculates adjusted R-Squared statistic
CramersV

Calculates Cramer's V
CI99

Calculates a 99 Percent Confidence Interval
available.imported.functions

Imported Functions Made Available to Users
SetTextContrastColor

Sets contrasting color for text
colPercents

Column Percentages