Skip to contents

Raw data

The pooled dataset from all five studies underlying this project’s analyses.

all_data
VVIQ and TAS data from various studies

Modelling

Wrappers around brms and bayestestR for fitting Bayesian models with this project’s own conventions, and for summarising evidence from their posterior distributions.

fit_brms_model()
Fit a Bayesian model using the brms package with default settings
report_rope()
Report the ROPE analysis for marginal effects
check_slope_evidence()
Check VVIQ slope data for Bayesian GAMs
check_knot_still_matches()
Check that a segmented model's cached knot still matches a fresh MARS estimate
check_scales_reliability()
Check the internal reliability of the VVIQ, TAS-20 and its sub-scales

Visualisation

ggplot2 helpers built for this project’s specific figures — raincloud plots, posterior contrasts, GAM curves, the floor-group model’s signature figure, and shared scales and themes used throughout the Extended Online Report.

summarise_aph_and_alexi()
Compute counts and proportions of alexithymia groups within VVIQ groups
plot_alexithymia_proportions()
Plot alexithymia proportions within VVIQ groups based on a summary table
plot_vviq_group_proportions()
Plot VVIQ group proportions of a specified variable across studies
plot_group_violins()
Plot group violins with means and confidence intervals
plot_posterior_contrasts()
Plot the posterior distributions of marginal contrasts
plot_gam_means()
Plot GAM estimated means
plot_gam_slopes()
Plot GAM estimated slopes
plot_coloured_subjects()
Plot individual participants coloured by VVIQ group
plot_alexithymia_cutoff()
Plot Alexithymia cut-off line
plot_floor_group()
Plot the floor-group additive model against the data
plot_vviq_marginal_histogram()
Plot the marginal VVIQ distribution (floor spike + continuous remainder)
scale_discrete_aphantasia()
Custom discrete scale for Aphantasia groups
scale_x_aphantasia()
Custom x-axis scale for Aphantasia groups
scale_x_vviq()
Custom x-axis scale for VVIQ scores
theme_pdf()
Theme for elegant scientific vector figures
save_ggplot()
Custom ggsave wrapper set with Nature's formatting guidelines (width-locked)