Skip to content
Powell Miscellaneous Functions for Teaching and Learning Statistics
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
R merged Jul 30, 2019
data unnecessary Jun 19, 2018
docs update website Jul 30, 2019
vignettes xc Jul 30, 2019
.Rbuildignore Adding Travis and testing Jun 27, 2019
.travis.yml testing Travis CI Jun 27, 2019
DESCRIPTION Adding Travis and testing Jun 27, 2019
LICENSE xxx Mar 12, 2018
NAMESPACE housecleaning Jun 26, 2019
README.Rmd Adding Travis and testing Jun 27, 2019 Adding Travis and testing Jun 27, 2019
_pkgdown.yaml adding google Apr 6, 2018 trying to get Travis to work Jun 27, 2019

CRAN Version Build Status Downloads


A package that includes functions that I find useful for teaching statistics as well as actually practicing the art. They typically are not “new” methods but rather wrappers around either base R or other packages and concepts I’m trying to master. Currently contains:

  • Plot2WayANOVA which as the name implies conducts a 2 way ANOVA and plots the results using ggplot2
  • PlotXTabs which as the name implies plots cross tabulated variables using ggplot2
  • newggslopegraph which creates a Tufte“esque” slopegraph using ggplot2
  • Mode which finds the modal value(s) in a vector of data
  • SeeDist which wraps around ggplot2 to provide visualizations of univariate data.
  • OurConf is a simulation function that helps you learn about confidence intervals


# Install from CRAN

# Or the development version from GitHub
# install.packages("devtools")


Online documentation and vignettes are located here.

Example Plot2WayANOVA plot

Example Plot2WayANOVA

Example PlotXTabs plot

Example PlotXTabs plot

Example newggslopegraph plot

Example newggslopegraph plot


Many thanks to Danielle Navarro and the book Learning Statistics with R.

“He who gives up safety for speed deserves neither.” (via)

Leaving Feedback

If you like CGPfunctions, please consider leaving feedback here.


Contributions in the form of feedback, comments, code, and bug reports are most welcome. How to contribute:

  • Issues, bug reports, and wish lists: File a GitHub issue.
  • Contact the maintainer ibecav at by email.
You can’t perform that action at this time.