# Test correlations (use at least n = 100)
cor_test <- correlation_test(onze_intercepts |>
dplyr::select(-speaker), n = 10)
cor_plot <- plot_correlation_counts(cor_test)
cor_plot
# make statistical test more strict by reducing the alpha.
cor_plot_strict <- plot_correlation_counts(cor_test, alpha = 0.01)
# modify plot using `ggplot2` functions, e.g.
cor_plot_strict +
ggplot2::labs(title = NULL) +
ggplot2::theme_bw()
Run the code above in your browser using DataLab