Package index
Visualizing distributions and variation
Make counts, spread, and portions of a distribution visible: countable histograms, distribution part functions for shading (with cutoff markers), and a standard deviation ruler.
-
gf_sd_ruler()experimental - Add a Standard Deviation Ruler to a Plot
-
gf_squareplot()experimental - Countable-Rectangle Histogram
-
middle()outer()tails()lower()upper()experimental - Find a percentage of a distribution
-
show_cutoffs()experimental - Add Cutoff Markers to a Histogram
-
gf_model() - Add a model to a plot
-
gf_resid() - Add Residual Lines to a Plot
-
gf_resid_fun()experimental - Add Residual Lines from a Function to a Plot
-
gf_square_resid()gf_squaresid()experimental - Add Squared Residual Visualization to a Plot
-
gf_square_resid_fun()experimental - Add Squared Residual Visualization from a Function to a Plot
Evaluating models
Pull estimates out of fitted models (useful for bootstrapping), and quantify fit — including on separate train and test sets.
-
b0()b1()b()f()pre()p() - Extract estimates/statistics from a model
-
fit_stats()fitstats() - Test the fit of a model on a train and test set.
-
split_data() - Split data into train and test sets.
Plot theme and palettes
The colorblind-friendly ggplot2 theme that is applied when the package is loaded, and tools for customizing or toggling it.
-
coursekata_load_theme() - Utility function for loading all themes.
-
coursekata_palette() - The color palettes used in our theme system
-
coursekata_palette_provider() - Create a function that provides a colorblind palette.
-
coursekata_unload_theme() - Restore
ggplot2default settings -
scale_discrete_coursekata() - A discrete color scale constructor with colorblind-safe palettes.
-
theme_coursekata() - A simple theme built on top of
ggplot2::theme_bw
-
coursekatacoursekata-package - coursekata: CourseKata Statistics and Data Science
-
coursekata_attach() - Attach the CourseKata course packages
-
coursekata_install()coursekata_update() - Install or update all CourseKata packages.
-
coursekata_packages() - List all CourseKata course packages
-
coursekata_repos() - Get repositories for the packages.
-
Ames - Ames, Iowa housing data
-
class_data - Generated "class data" for exploring pairwise tests
-
er - Emergency room canine therapy
-
fevdata - Forced Expiratory Volume (FEV) Data
-
Fingers - Data from introductory statistics students at a university.
-
FingersMessy - Raw data from introductory statistics students at a university.
-
game_data - Simulated math game data.
-
penguins - A modified form of the
palmerpenguins::penguinsdata set. -
Smallville - Simulated housing data
-
Survey - Students at a university were asked to enter a random number between 1-20 into a survey.
-
Tables - Tables data
-
tip_exp - Simulated data for an experiment about smiley faces and tips
-
TipExperiment - Data from an experiment about smiley faces and tips
-
World - Data on countries from the Happy Planet Index project.