GithubHelp home page GithubHelp logo

cgpfunctions's Introduction

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 tidyverse packages. Currently contains the following major user oriented functions:

  • Plot2WayANOVA which as the name implies conducts a 2 way ANOVA and plots the results using ggplot2
  • PlotXTabs2 which wraps around ggplot2 to provide Bivariate bar charts for categorical and ordinal data.
  • newggslopegraph which creates a Tufte“esque” slopegraph using ggplot2
  • chaid_table provides tabular summary of CHAID partykit object
  • cross2_var_vectors a helper function to build lists of “crossed” variables
  • 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", 
                         build_vignettes = TRUE,
                         upgrade = "ask")

Usage

Online documentation and vignettes are located here.

Example Plot2WayANOVA plot

Example Plot2WayANOVA

Example Plot2WayANOVA

Example PlotXTabs2 plot

Example PlotXTabs2 plot

Example PlotXTabs2 plot

Example newggslopegraph plot

Example newggslopegraph plot

Example newggslopegraph plot

Credits

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

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.