Learn R Programming

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

rcompanion (version 2.4.18)

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

14,806

Version

2.4.18

License

GPL-3

Last Published

August 6th, 2022

Functions in rcompanion (2.4.18)

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
Nurseries

Data for proportion of good practices followed by plant nuseries
PoohPiglet

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

Hypothetical data for paired ratings of Pooh Bear
cramerV

Cramer's V (phi)
HayleySmith

Hypothetical data for responses about adopting lawn care practices
countRSquare

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

Compare fit statistics for glm models
compareLM

Compare fit statistics for lm models
cohenW

Cohen's w (omega)
Pennsylvania18

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

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

Convert PMCMR Objects to a Data Frame
blom

Normal scores transformation
epsilonSquared

Epsilon-squared
cateNelson

Cate-Nelson models for bivariate data
cateNelsonFixedY

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

Cliff's delta
cohenG

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

Freeman's theta
kendallW

Kendall's W with bootstrapped confidence interval
mangiaficoD

Mangiafico's d
fullPTable

Convert a lower triangle matrix to a full matrix
groupwisePercentile

Groupwise percentiles and confidence intervals
cldList

Compact letter display for lists of comparisons
groupwiseCMH

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

Groupwise sums
pairwiseMedianMatrix

Pairwise Mood's median tests with matrix output
pairwiseMedianTest

Pairwise Mood's median tests
pairwiseDifferences

[Defunct!] Pairwise differences for unreplicated CBD
pairwiseOrdinalIndependence

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

Pairwise tests of independence for nominal data with matrix output
groupwiseGeometric

Groupwise geometric means and confidence intervals
pairwisePermutationSymmetryMatrix

Pairwise two-sample permutation symmetry tests with matrix output
pairwiseOrdinalPairedTest

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

[Defunct!] Pairwise two-sample ordinal regression
pairwisePermutationSymmetry

Pairwise two-sample permutation symmetry tests
groupwiseMean

Groupwise means and confidence intervals
groupwiseMedian

Groupwise medians and confidence intervals
groupwiseHuber

Groupwise Huber M-estimators and confidence intervals
pairwiseMcnemar

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

Test of percentiles by permutation test
scheirerRayHare

Scheirer Ray Hare test
pairwiseSignTest

[Defunct!] Pairwise sign tests
rcompanion

Functions to Support Extension Education Program Evaluation
nagelkerke

Pseudo r-squared measures for various models
nagelkerkeHermite

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

Eta-squared for ordinal variables
pairwiseOrdinalMatrix

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

Dominance statistic for two-sample paired data
wilcoxonPairedRC

Matched-pairs rank biserial correlation coefficient
pairwiseOrdinalPairedMatrix

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

Plot a predicted line from a bivariate model
quantileCI

Quantiles and confidence intervals
wilcoxonOneSampleR

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

Pairwise two-sample permutation tests with matrix output
wilcoxonOR

Agresti's Generalized Odds Ratio for Stochastic Dominance
pairwisePercentileTest

Pairwise permutation tests for percentiles
vda

Vargha and Delaney's A
wilcoxonR

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

Rank biserial correlation coefficient for one-sample Wilcoxon test
multiVDA

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

Pairwise tests of independence for nominal data
multiMangiaficoD

Mangiafico's d
pairwiseModelAnova

Compare model objects with F test and likelihood ratio test
cramerVFit

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

Efron's pseudo r-squared
phi

phi
pairwiseRobustMatrix

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

Pairwise two-sample permutation tests
pairwiseRobustTest

[Defunct!] Pairwise two-sample robust tests
plotDensityHistogram

Histogram with a density curve
oneSampleDominance

Dominance statistic for one-sample data
plotNormalDensity

Density plot with a normal curve
nominalSymmetryTest

Exact and McNemar symmetry tests for paired contingency tables
plotNormalHistogram

Histogram with a normal curve
wilcoxonRG

Glass rank biserial correlation coefficient
wilcoxonZ

Wilcoxon z statistic
wilcoxonPS

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

[Defunct!] Pairwise sign tests with matrix output
wilcoxonPairedR

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

Tukey's Ladder of Powers
spearmanRho

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

Hypothetical data for Alexander Anderson
BullyHill

Hypothetical data for proportion of students passing a certification
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
AndersonBias

Hypothetical data for Alexander Anderson with gender bias
AndersonRainBarrel

Hypothetical data for Alexander Anderson on rain barrel installation
BrendonSmall

Hypothetical data for Brendon Small and company
Breakfast

Hypothetical data for students' breakfast habits and travel to school