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
objectcross2_var_vectors
a helper function to build lists of âcrossedâ variablesSeeDist
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
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 plotExample Plot2WayANOVA
Example PlotXTabs2 plotExample PlotXTabs2 plot
Example newggslopegraph plotExample newggslopegraph plot
CreditsMany thanks to Danielle Navarro and the book Learning Statistics with R.
Leaving FeedbackIf you like CGPfunctions, please consider leaving feedback here.
ContributingContributions in the form of feedback, comments, code, and bug reports are most welcome. How to contribute:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4