Learn R Programming

rcompanion (version 2.4.36)

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

20,628

Version

2.4.36

License

GPL-3

Last Published

May 27th, 2024

Functions in rcompanion (2.4.36)

Pooh

Hypothetical data for paired ratings of Pooh Bear
blom

Normal scores transformation
Nurseries

Data for proportion of good practices followed by plant nuseries
Monarchs

Hypothetical data for monarch butterflies in gardens
accuracy

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

Hypothetical data for change in religion after a caucusing event
cohenH

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

Cate-Nelson models for bivariate data
cateNelsonFixedY

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

Compare fit statistics for glm models
compareLM

Compare fit statistics for lm models
cldList

Compact letter display for lists of comparisons
cliffDelta

Cliff's delta
cohenG

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

Cohen's w (omega)
PoohPiglet

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

Convert PMCMR Objects to a Data Frame
Pennsylvania18

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

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

Groupwise means and confidence intervals
cramerV

Cramer's V (phi)
groupwiseGeometric

Groupwise geometric means and confidence intervals
groupwiseMedian

Groupwise medians and confidence intervals
cramerVFit

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

Freeman's theta
epsilonSquared

Epsilon-squared
groupwiseHuber

Groupwise Huber M-estimators and confidence intervals
efronRSquared

Efron's pseudo r-squared
fullPTable

Convert a lower triangle matrix to a full matrix
multiMangiaficoD

Mangiafico's d
kendallW

Kendall's W with bootstrapped confidence interval
multiVDA

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

Exact and McNemar symmetry tests for paired contingency tables
mangiaficoD

Mangiafico's d
groupwiseSum

Groupwise sums
groupwiseCMH

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

Groupwise percentiles and confidence intervals
oneSampleDominance

Dominance statistic for one-sample data
nagelkerke

Pseudo r-squared measures for various models
pairwiseDifferences

[Defunct!] Pairwise differences for unreplicated CBD
pairwiseMedianTest

Pairwise Mood's median tests
pairwiseMedianMatrix

Pairwise Mood's median tests with matrix output
pairwiseMcnemar

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

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

Pairwise tests of independence for nominal data
pairwiseModelAnova

Compare model objects with F test and likelihood ratio test
ordinalEtaSquared

Eta-squared for ordinal variables
pairedSampleDominance

Dominance statistic for two-sample paired data
pairwiseNominalMatrix

Pairwise tests of independence for nominal data with matrix output
pairwiseOrdinalIndependence

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

Pairwise two-sample independence tests
pairwiseOrdinalPairedMatrix

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

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

Pairwise two-sample symmetry tests
pairwisePermutationSymmetryMatrix

Pairwise two-sample symmetry tests with matrix output
pairwiseOrdinalPairedTest

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

[Defunct!] Pairwise two-sample ordinal regression
pairwiseRobustMatrix

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

[Defunct!] Pairwise two-sample robust tests
pairwisePermutationMatrix

Pairwise two-sample independence tests with matrix output
pairwisePercentileTest

Pairwise permutation tests for percentiles
plotDensityHistogram

Histogram with a density curve
plotNormalHistogram

Histogram with a normal curve
phi

phi
plotNormalDensity

Density plot with a normal curve
percentileTest

Test of percentiles by permutation test
pairwiseSignTest

[Defunct!] Pairwise sign tests
pairwiseSignMatrix

[Defunct!] Pairwise sign tests with matrix output
plotPredy

Plot a predicted line from a bivariate model
quantileCI

Quantiles and confidence intervals
transformTukey

Tukey's Ladder of Powers
spearmanRho

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

Vargha and Delaney's A
wilcoxonOR

Agresti's Generalized Odds Ratio for Stochastic Dominance
rcompanion-package

Functions to Support Extension Education Program Evaluation
scheirerRayHare

Scheirer Ray Hare test
wilcoxonOneSampleRC

Rank biserial correlation coefficient for one-sample Wilcoxon test
wilcoxonOneSampleR

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

Glass rank biserial correlation coefficient
wilcoxonPairedR

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

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

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

Matched-pairs rank biserial correlation coefficient
wilcoxonZ

Wilcoxon z statistic
BobBelcher

Hypothetical data for ratings of instructors in unreplicated CBD
Anderson

Hypothetical data for Alexander Anderson
AndersonRainGarden

Hypothetical data for Alexander Anderson on rain garden installation
BullyHill

Hypothetical data for proportion of students passing a certification
Breakfast

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

Hypothetical data for Alexander Anderson on rain barrel installation
BrendonSmall

Hypothetical data for Brendon Small and company
AndersonBias

Hypothetical data for Alexander Anderson with gender bias
HayleySmith

Hypothetical data for responses about adopting lawn care practices
Catbus

Hypothetical data for Catbus and company