Learn R Programming

⚠️There's a newer version (2.3.0) of this package.Take me there.

poliscidata (version 1.2.0)

Datasets and Functions Featured in Pollock and Edwards R Companion to Essential of Political Analysis

Description

Bundles the datasets and functions used in the book 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

578

Version

1.2.0

License

CC0

Maintainer

Barry Edwards

Last Published

October 25th, 2016

Functions in poliscidata (1.2.0)

CI99

Calculates a 99 Percent Confidence Interval
compADPQ

Calculates model fit statistic
CI95

Calculates a 95 Percent Confidence Interval
available.imported.functions

Imported Functions Made Available to Users
iplotC

Interaction plot
lineType

Displays line types for R plots
nesD

NES design dataset for R Companion to Essentials of Political Analysis
inverse.logit

Calculates predicted probability for a given logged odds value
orci

Translate logistic regression coefficients into odds ratios
imeansC

Controlled Mean Comparison Table
plotChar

Displays plotting characters available in R
pchisqC

Comparing Logistic Regression Models with Chi-Squared Test
gss

GSS dataset for R Companion to Essentials of Political Analysis
somersD

Calculates Somer's D
gssD

GSS design dataset for R Companion to Essentials of Political Analysis
sortC

Returns case-level information in order
logregR2

Logistic regression model statistics
nes

NES dataset for R Companion to Essentials of Political Analysis
plotmeansC

Plots mean comparison
printC

Prints html-ready table to local working directory
statesD

States design dataset for R Companion to Essentials of Political Analysis
states

States dataset for R Companion to Essentials of Political Analysis
xtp

Cross tabulation
xtp.chi2

Cross tabulation with chi-squared statistic
xtabC

Cross tabulation with optional weights
prop.testC

Difference of Proportions Test
quickConsolePrint

Prints string to console quickly
wtd.median

Find Median of Variable
wtd.mode

Find Mode of Variable
world

World dataset for R Companion to Essentials of Political Analysis
worldD

World design dataset for R Companion to Essentials of Political Analysis
SetTextContrastColor

Sets contrasting color for text
slowConsolePrint

Prints string to console slowly
svybyC

Computes summary statistics
wtd.sd

Find Standard Deviation of Variable
svychisqC

Chi-Squared Test with Weighted Data
wtd.ttestC

Weighted T-Test
tablesomersDC

Produces summary statistics
freqC

Generates table and figure describing distribution of variable values.
welcome

Function to Introduce Users to R Companion Environment
CramersV

Calculates Cramer's V
fit.svyglm

Calculates model fit statistic for a svyglm weighted regression model
colPercents

Column Percentages
Colors

Displays R Colors
AdjR2

Calculates adjusted R-Squared statistic