Learn R Programming

rcompanion (version 2.5.0)

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

16,808

Version

2.5.0

License

GPL-3

Maintainer

Salvatore Mangiafico

Last Published

February 13th, 2025

Functions in rcompanion (2.5.0)

Nurseries

Data for proportion of good practices followed by plant nuseries
compareGLM

Compare fit statistics for glm models
compareLM

Compare fit statistics for lm models
countRSquare

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

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

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

Compact letter display for lists of comparisons
cliffDelta

Cliff's delta
correlation

Correlation and measures of association
fullPTable

Convert a lower triangle matrix to a full matrix
groupwiseMean

Groupwise means and confidence intervals
groupwiseHuber

Groupwise Huber M-estimators and confidence intervals
cramerV

Cramer's V (phi)
groupwiseCMH

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

Groupwise geometric means and confidence intervals
cramerVFit

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

Epsilon-squared
freemanTheta

Freeman's theta
efronRSquared

Efron's pseudo r-squared
cohenH

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

Cohen's w (omega)
mangiaficoD

Mangiafico's d
nagelkerkeHermite

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

Groupwise medians and confidence intervals
nominalSymmetryTest

Exact and McNemar symmetry tests for paired contingency tables
groupwisePercentile

Groupwise percentiles and confidence intervals
nagelkerke

Pseudo r-squared measures for various models
multiVDA

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

Eta-squared for ordinal variables
oneSampleDominance

Dominance statistic for one-sample data
multiMangiaficoD

Mangiafico's d
pairwiseMcnemar

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

Pairwise Mood's median tests with matrix output
pairwiseDifferences

[Defunct!] Pairwise differences for unreplicated CBD
pairedSampleDominance

Dominance statistic for two-sample paired data
pairwiseOrdinalTest

[Defunct!] Pairwise two-sample ordinal regression
pairwiseModelAnova

Compare model objects with F test and likelihood ratio test
pairwisePercentileTest

Pairwise permutation tests for percentiles
pairwiseMedianTest

Pairwise Mood's median tests
pairwisePermutationSymmetryMatrix

Pairwise two-sample symmetry tests with matrix output
pairwisePermutationTest

Pairwise two-sample independence tests
pairwiseOrdinalIndependence

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

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

phi
percentileTest

Test of percentiles by permutation test
pairwiseNominalIndependence

Pairwise tests of independence for nominal data
groupwiseSum

Groupwise sums
kendallW

Kendall's W with bootstrapped confidence interval
pairwiseRobustMatrix

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

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

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

Pairwise two-sample independence tests with matrix output
pairwiseNominalMatrix

Pairwise tests of independence for nominal data with matrix output
pairwiseRobustTest

[Defunct!] Pairwise two-sample robust tests
plotNormalHistogram

Histogram with a normal curve
pairwisePermutationSymmetry

Pairwise two-sample symmetry tests
quantileCI

Quantiles and confidence intervals
vda

Vargha and Delaney's A
transformTukey

Tukey's Ladder of Powers
pairwiseSignMatrix

[Defunct!] Pairwise sign tests with matrix output
pairwiseSignTest

[Defunct!] Pairwise sign tests
plotDensityHistogram

Histogram with a density curve
wilcoxonR

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

Glass rank biserial correlation coefficient
plotPredy

Plot a predicted line from a bivariate model
plotNormalDensity

Density plot with a normal curve
wilcoxonPS

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

Rank biserial correlation coefficient for one-sample Wilcoxon test
spearmanRho

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

Scheirer Ray Hare test
wilcoxonOR

Agresti's Generalized Odds Ratio for Stochastic Dominance
wilcoxonOneSampleR

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

Wilcoxon z statistic
rcompanion-package

Functions to Support Extension Education Program Evaluation
wilcoxonPairedR

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

Matched-pairs rank biserial correlation coefficient
Catbus

Hypothetical data for Catbus and company
AndersonRainGarden

Hypothetical data for Alexander Anderson on rain garden installation
Breakfast

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

Hypothetical data for Alexander Anderson
HayleySmith

Hypothetical data for responses about adopting lawn care practices
AndersonRainBarrel

Hypothetical data for Alexander Anderson on rain barrel installation
BobBelcher

Hypothetical data for ratings of instructors in unreplicated CBD
BrendonSmall

Hypothetical data for Brendon Small and company
Monarchs

Hypothetical data for monarch butterflies in gardens
AndersonBias

Hypothetical data for Alexander Anderson with gender bias
accuracy

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

Hypothetical data for proportion of students passing a certification
Religion

Hypothetical data for change in religion after a caucusing event
PMCMRTable

Convert PMCMR Objects to a Data Frame
Pooh

Hypothetical data for paired ratings of Pooh Bear
PoohPiglet

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

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

Cate-Nelson models for bivariate data
blom

Normal scores transformation