Learn R Programming

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

rcompanion (version 2.4.35)

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

11,030

Version

2.4.35

License

GPL-3

Maintainer

Salvatore Mangiafico

Last Published

February 17th, 2024

Functions in rcompanion (2.4.35)

Pooh

Hypothetical data for paired ratings of Pooh Bear
PoohPiglet

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

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

Cramer's V (phi)
compareLM

Compare fit statistics for lm models
compareGLM

Compare fit statistics for glm models
cohenW

Cohen's w (omega)
cohenH

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

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

Compact letter display for lists of comparisons
cliffDelta

Cliff's delta
cohenG

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

Convert a lower triangle matrix to a full matrix
groupwiseCMH

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

Groupwise geometric means and confidence intervals
groupwiseHuber

Groupwise Huber M-estimators and confidence intervals
efronRSquared

Efron's pseudo r-squared
cramerVFit

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

Freeman's theta
epsilonSquared

Epsilon-squared
nagelkerke

Pseudo r-squared measures for various models
nagelkerkeHermite

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

Groupwise sums
groupwisePercentile

Groupwise percentiles and confidence intervals
multiMangiaficoD

Mangiafico's d
multiVDA

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

Groupwise means and confidence intervals
oneSampleDominance

Dominance statistic for one-sample data
groupwiseMedian

Groupwise medians and confidence intervals
mangiaficoD

Mangiafico's d
pairwiseNominalMatrix

Pairwise tests of independence for nominal data with matrix output
pairwiseMedianTest

Pairwise Mood's median tests
nominalSymmetryTest

Exact and McNemar symmetry tests for paired contingency tables
pairwiseModelAnova

Compare model objects with F test and likelihood ratio test
kendallW

Kendall's W with bootstrapped confidence interval
pairwiseMedianMatrix

Pairwise Mood's median tests with matrix output
pairwiseOrdinalIndependence

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

Pairwise tests of independence for nominal data
pairwiseOrdinalPairedTest

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

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

Eta-squared for ordinal variables
pairwisePermutationSymmetryMatrix

Pairwise two-sample symmetry tests with matrix output
pairwiseOrdinalTest

[Defunct!] Pairwise two-sample ordinal regression
pairwisePermutationTest

Pairwise two-sample independence tests
pairedSampleDominance

Dominance statistic for two-sample paired data
pairwiseOrdinalMatrix

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

Pairwise two-sample symmetry tests
pairwiseOrdinalPairedMatrix

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

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

Pairwise permutation tests for percentiles
pairwiseDifferences

[Defunct!] Pairwise differences for unreplicated CBD
pairwisePermutationMatrix

Pairwise two-sample independence tests with matrix output
pairwiseRobustTest

[Defunct!] Pairwise two-sample robust tests
pairwiseSignTest

[Defunct!] Pairwise sign tests
plotNormalDensity

Density plot with a normal curve
plotDensityHistogram

Histogram with a density curve
phi

phi
plotNormalHistogram

Histogram with a normal curve
percentileTest

Test of percentiles by permutation test
pairwiseSignMatrix

[Defunct!] Pairwise sign tests with matrix output
quantileCI

Quantiles and confidence intervals
wilcoxonOR

Agresti's Generalized Odds Ratio for Stochastic Dominance
wilcoxonOneSampleR

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

Vargha and Delaney's A
wilcoxonOneSampleRC

Rank biserial correlation coefficient for one-sample Wilcoxon test
plotPredy

Plot a predicted line from a bivariate model
rcompanion-package

Functions to Support Extension Education Program Evaluation
wilcoxonPairedR

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

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

Scheirer Ray Hare test
transformTukey

Tukey's Ladder of Powers
wilcoxonPairedRC

Matched-pairs rank biserial correlation coefficient
wilcoxonR

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

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

Wilcoxon z statistic
wilcoxonRG

Glass rank biserial correlation coefficient
HayleySmith

Hypothetical data for responses about adopting lawn care practices
blom

Normal scores transformation
PMCMRTable

Convert PMCMR Objects to a Data Frame
BrendonSmall

Hypothetical data for Brendon Small and company
Pennsylvania18

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

Hypothetical data for Alexander Anderson with gender bias
Monarchs

Hypothetical data for monarch butterflies in gardens
BobBelcher

Hypothetical data for ratings of instructors in unreplicated CBD
AndersonRainGarden

Hypothetical data for Alexander Anderson on rain garden installation
Catbus

Hypothetical data for Catbus and company
Anderson

Hypothetical data for Alexander Anderson
BullyHill

Hypothetical data for proportion of students passing a certification
Nurseries

Data for proportion of good practices followed by plant nuseries
Breakfast

Hypothetical data for students' breakfast habits and travel to school
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
AndersonRainBarrel

Hypothetical data for Alexander Anderson on rain barrel installation
cateNelson

Cate-Nelson models for bivariate data