Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Powell Miscellaneous Functions for Teaching and Learning Statistics

License

Notifications You must be signed in to change notification settings

dingxm/CGPfunctions

Open more actions menu
 
 

Repository files navigation

CRAN Version Build Status Downloads

Overview

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

Installation

# Install from CRAN
install.packages("CGPfunctions")

# Or the development version from GitHub
# install.packages("devtools")
devtools::install_github("ibecav/CGPfunctions")

Usage

Online documentation and vignettes are located here.

Example Plot2WayANOVA plot

Example Plot2WayANOVA

Example PlotXTabs plot

Example PlotXTabs plot

Example newggslopegraph plot

Example newggslopegraph plot

Credits

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.

Contributing

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 gmail.com by email.

About

Powell Miscellaneous Functions for Teaching and Learning Statistics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.