Skip to contents

All functions

aggregate_data()
Function to aggregate data for youth vs. adult comparison
classify_age_group()
Classify individuals into age groups
clean_drug_use_data()
Drug Use Data Cleaning Functions
create_bar_freq_plot()
Create and save frequency bar plots
create_bar_use_plot()
Drug Use Data EDA Functions:
create_confusion_outputs()
Create and save a confusion matrix plot and table
create_directory()
Create directory if it doesn't exist
create_grouped_bar_plot()
Function to create grouped bar plots
create_scatter_plot()
Function to create scatter plot with regression line
download_data()
Download Dataset
save_data()
Save processed data to a file
train_and_predict()
Train a model and generate class predictions