Learn R Programming

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

rcompanion (version 2.4.21)

Functions to Support Extension Education Program Evaluation

Description

Functions and datasets to support "Summary and Analysis of Extension Program Evaluation in R" and "An R Companion for the Handbook of Biological Statistics". Vignettes are available at .

Copy Link

Version

Install

install.packages('rcompanion')

Monthly Downloads

23,646

Version

2.4.21

License

GPL-3

Maintainer

Salvatore Mangiafico

Last Published

January 16th, 2023

Functions in rcompanion (2.4.21)

Religion

Hypothetical data for change in religion after a caucusing event
accuracy

Minimum maximum accuracy, mean absolute percent error, median absolute error, root mean square error, coefficient of variation, and Efron's pseudo r-squared
Pennsylvania18

Votes for the Democratic candidate in Pennsylvania 18 in 2016 and 2018
PMCMRTable

Convert PMCMR Objects to a Data Frame
blom

Normal scores transformation
cateNelson

Cate-Nelson models for bivariate data
Pooh

Hypothetical data for paired ratings of Pooh Bear
cateNelsonFixedY

Cate-Nelson models for bivariate data with a fixed critical Y value
PoohPiglet

Hypothetical data for ratings of Pooh, Piglet, and Tigger
cliffDelta

Cliff's delta
cohenG

Cohen's g and odds ratio for paired contingency tables
cldList

Compact letter display for lists of comparisons
cohenW

Cohen's w (omega)
cohenH

Cohen's h to compare proportions for 2 x 2 contingency tables
Monarchs

Hypothetical data for monarch butterflies in gardens
countRSquare

Count pseudo r-squared for logistic and other binary outcome models
compareGLM

Compare fit statistics for glm models
cramerV

Cramer's V (phi)
Nurseries

Data for proportion of good practices followed by plant nuseries
groupwiseMean

Groupwise means and confidence intervals
groupwiseGeometric

Groupwise geometric means and confidence intervals
fullPTable

Convert a lower triangle matrix to a full matrix
compareLM

Compare fit statistics for lm models
groupwiseHuber

Groupwise Huber M-estimators and confidence intervals
epsilonSquared

Epsilon-squared
groupwiseMedian

Groupwise medians and confidence intervals
groupwisePercentile

Groupwise percentiles and confidence intervals
groupwiseCMH

Post-hoc tests for Cochran-Mantel-Haenszel test
nagelkerke

Pseudo r-squared measures for various models
nagelkerkeHermite

[Defunct!] Pseudo r-squared measures for hermite models
cramerVFit

Cramer's V for chi-square goodness-of-fit tests
pairwiseNominalMatrix

Pairwise tests of independence for nominal data with matrix output
efronRSquared

Efron's pseudo r-squared
nominalSymmetryTest

Exact and McNemar symmetry tests for paired contingency tables
multiMangiaficoD

Mangiafico's d
freemanTheta

Freeman's theta
multiVDA

Pairwise Vargha and Delaney's A and Cliff's delta
ordinalEtaSquared

Eta-squared for ordinal variables
groupwiseSum

Groupwise sums
pairedSampleDominance

Dominance statistic for two-sample paired data
pairwiseOrdinalIndependence

Pairwise tests of independence for tables with one ordered nominal variable
oneSampleDominance

Dominance statistic for one-sample data
pairwiseDifferences

[Defunct!] Pairwise differences for unreplicated CBD
pairwiseMedianMatrix

Pairwise Mood's median tests with matrix output
pairwiseMcnemar

Pairwise McNemar and related tests for Cochran Q test post-hoc
pairwiseMedianTest

Pairwise Mood's median tests
pairwisePermutationSymmetry

Pairwise two-sample permutation symmetry tests
pairwiseOrdinalPairedTest

[Defunct!] Pairwise two-sample ordinal regression for paired data
pairwiseRobustMatrix

[Defunct!] Pairwise two-sample robust tests with matrix output
pairwiseOrdinalTest

[Defunct!] Pairwise two-sample ordinal regression
phi

phi
pairwisePermutationSymmetryMatrix

Pairwise two-sample permutation symmetry tests with matrix output
plotPredy

Plot a predicted line from a bivariate model
quantileCI

Quantiles and confidence intervals
pairwisePercentileTest

Pairwise permutation tests for percentiles
pairwisePermutationTest

Pairwise two-sample permutation tests
pairwisePermutationMatrix

Pairwise two-sample permutation tests with matrix output
pairwiseSignMatrix

[Defunct!] Pairwise sign tests with matrix output
pairwiseRobustTest

[Defunct!] Pairwise two-sample robust tests
pairwiseSignTest

[Defunct!] Pairwise sign tests
percentileTest

Test of percentiles by permutation test
pairwiseOrdinalMatrix

[Defunct!] Pairwise two-sample ordinal regression with matrix output
pairwiseOrdinalPairedMatrix

[Defunct!] Pairwise two-sample ordinal regression for paired data with matrix output
rcompanion

Functions to Support Extension Education Program Evaluation
plotDensityHistogram

Histogram with a density curve
plotNormalDensity

Density plot with a normal curve
kendallW

Kendall's W with bootstrapped confidence interval
scheirerRayHare

Scheirer Ray Hare test
plotNormalHistogram

Histogram with a normal curve
wilcoxonPS

Grissom and Kim's Probability of Superiority (PS)
wilcoxonPairedR

r effect size for Wilcoxon two-sample paired signed-rank test
mangiaficoD

Mangiafico's d
vda

Vargha and Delaney's A
wilcoxonOR

Agresti's Generalized Odds Ratio for Stochastic Dominance
pairwiseModelAnova

Compare model objects with F test and likelihood ratio test
wilcoxonZ

Wilcoxon z statistic
wilcoxonRG

Glass rank biserial correlation coefficient
spearmanRho

Spearman's rho, Kendall's tau, Pearson's r
wilcoxonOneSampleR

r effect size for Wilcoxon one-sample signed-rank test
transformTukey

Tukey's Ladder of Powers
wilcoxonOneSampleRC

Rank biserial correlation coefficient for one-sample Wilcoxon test
pairwiseNominalIndependence

Pairwise tests of independence for nominal data
wilcoxonPairedRC

Matched-pairs rank biserial correlation coefficient
wilcoxonR

r effect size for Wilcoxon two-sample rank-sum test
AndersonRainGarden

Hypothetical data for Alexander Anderson on rain garden installation
BobBelcher

Hypothetical data for ratings of instructors in unreplicated CBD
AndersonBias

Hypothetical data for Alexander Anderson with gender bias
Catbus

Hypothetical data for Catbus and company
AndersonRainBarrel

Hypothetical data for Alexander Anderson on rain barrel installation
Anderson

Hypothetical data for Alexander Anderson
BullyHill

Hypothetical data for proportion of students passing a certification
Breakfast

Hypothetical data for students' breakfast habits and travel to school
HayleySmith

Hypothetical data for responses about adopting lawn care practices
BrendonSmall

Hypothetical data for Brendon Small and company