Skip to contents

Functions

geom_categorical_model()
Regression model with one categorical explanatory/predictor variable
geom_parallel_slopes()
Parallel slopes regression model
get_correlation()
Get correlation value in a tidy way
get_regression_points()
Get regression points
get_regression_summaries()
Get regression summary values
get_regression_table()
Get regression table
gg_parallel_slopes()
Plot parallel slopes model
pop_sd()
Calculate Population Standard Deviation
tidy_summary()
This function calculates the five-number summary (minimum, first quartile, median, third quartile, maximum) for specified numeric columns in a data frame and returns the results in a long format. It also handles categorical, factor, and logical columns by counting the occurrences of each level or value, and includes the results in the summary. The type column indicates whether the data is numeric, character, factor, or logical.

Datasets

alaska_flights
Alaska flights data
amazon_books
Sample of Amazon books
avocados
Avocado Prices by US Region
babies
Data on maternal smoking and infant health
coffee_ratings
Data from the Coffee Quality Institute's review pages in January 2018
early_january_weather
Early January hourly weather data
ev_charging
Electric vehicle charging sessions for a workplace charging program
ipf_lifts
International Power Lifting Results A subset of international powerlifting results.
ma_traffic_2020_vs_2019
Massachusetts 2020 vs. 2019 Traffic Data Comparison
mario_kart_auction
Data from Mario Kart Ebay auctions
mass_traffic_2020
2020 road traffic volume and crash level date for 13 Massachusetts counties
saratoga_houses
House Prices and Properties in Saratoga, New York
DD_vs_SB
Dunkin Donuts vs Starbucks
MA_schools
Massachusetts Public High Schools Data
bowl
A sampling bowl of red and white balls
bowl_sample_1
Tactile sample of size 50 from a bowl of balls
bowl_samples
Sampling from a bowl of balls
evals
Teaching evaluations at the UT Austin
movies_sample
Random sample of 68 action and romance movies
mythbusters_yawn
Data from Mythbusters' study on contagiousness of yawning
orig_pennies_sample
A random sample of 40 pennies sampled from the pennies data frame
pennies
A population of 800 pennies sampled in 2011
pennies_resamples
Bootstrap resamples of a sample of 50 pennies
pennies_sample
A sample of 50 pennies
promotions
Bank manager recommendations based on (binary) gender
promotions_shuffled
One permutation/shuffle of promotions
tactile_prop_red
Tactile sampling from a tub of balls
house_prices
House Sales in King County, USA
envoy_flights
Envoy Air flights data for 2023
almonds_bowl
Chocolate-covered almonds data
almonds_sample_100
Chocolate-covered almonds data sample of size 100
early_january_2023_weather
Early January hourly weather data for 2023
almonds_sample
Chocolate-covered almonds data sample of size 25
coffee_quality
Coffee Quality Dataset
old_faithful_2024
Old Faithful Eruptions Dataset (2024)
spotify_52_original
Spotify 52-Track Sample Dataset
spotify_52_shuffled
Spotify 52-Track Sample Dataset with 'popular or not' shuffled
spotify_by_genre
Spotify by Genre Dataset
un_member_states_2024
UN Member States 2024 Dataset

Misc

moderndive-package moderndive
moderndive - Tidyverse-Friendly Introductory Linear Regression