Skip to contents

Templates and Folders

These functions create custom folders and useful templates if a project has already been created.

use_custom_folder()
Create A Custom Folder
use_analysis_template()
Use A Analysis Template
use_data_cleaning_template()
Use A Data Cleaning Template
use_latex_template()
Use A LaTeX Document Template
report_save()
Save plots for LaTeX reports in correct dimensions
open_working_directory()
Open Current Working Directory

Color and Fill Scales

These functions are useful to change ggplot2’s default color and fill scales to a corporate design

theming_colors
Theming Color Values
theming_palettes
Theming Color Palettes
use_base_theme()
Remove Custom Color Theme
use_custom_theme() use_personal_theme() use_pedscience_theme() use_palli_theme() use_dksz_theme()
Set a Custom ggplot2 Theme
save_custom_plot()
Save A Plot With Custom Theming

ggplot2 Summary functions

These functions are particularly useful when creating statistical summaries with stat_summary() over individual data points

mean_sd()
Compute Mean and its Standard Deviation for ggplot2
median_se()
Compute Median and its Standard Error for ggplot2
mest_se()
Compute M-Estimator and its Standard Error for ggplot2
tr_mean_se()
Compute Trimmed Mean and its Standard Error for ggplot2
win_mean_se()
Compute Winsorized Mean and its Standard Error for ggplot2

ggplot2 Themes

Custom ggplot2 themes

theme_bene()
Custom Theme for ggplot2

gt Themes

Themes for the gt package and gtsummary

theme_gt_apa()
APA-Like Table Style
theme_gtsummary_apa()
APA-like gtsummary theme

Other

palmer_penguins
Palmer Penguin Dataset
to_tibble()
Convert Matrix Like Object to Tibble