R: Contrast and Separation Metrics for Phonological Categories

# Contrast and Separation Metrics for Phonological Categories

## Documentation for package ‘phontrast’ version 2.3.1

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

autoplot.phontrast_contrast | Plot a phontrast() result directly
bhattacharyya_mvnorm | Bhattacharyya distance and affinity under multivariate normality
boot_jsd | Bootstrap JSD for each group
estimate_bhatt | Estimate Bhattacharyya distance, globally or by group
estimate_jsd | Estimate Jensen-Shannon divergence or distance between two categories
estimate_overlap | Estimate proportional overlap globally or by group
estimate_pillai | Estimate Pillai trace, globally or by group
extract_mfcc | Extract MFCCs for vowel segments
global_boot_jsd | Global JSD with bootstrap confidence interval
global_pillai | Global Pillai trace (point estimate)
hier_boot_jsd_model | Hierarchical bootstrap for JSD-based models
jsd | Jensen-Shannon divergence for discrete distributions
jsd_kde_nd | n-dimensional JSD via multivariate kernel density estimation
jsd_summary | JSD summary: point estimate and optional bootstrap per group
kl_div | Kullback-Leibler divergence for discrete distributions
percent_overlap_kde | Proportional overlap between two distributions via KDE
phontrast | Compute and compare phonological contrast metrics
phontrast_palette | Okabe-Ito color palette used by phontrast plots
pillai_overlap | Pillai trace for multivariate overlap
plot.phontrast_contrast | Plot a phontrast() result directly
plot_category_pca | Plot a PCA projection of multidimensional category space
plot_category_space | Plot phonological categories in acoustic space
plot_contrast | Distribution-aware contrast plot for two categories
plot_overlap_metrics | Plot overlap metric comparisons
prepare_jsd_beta | Prepare JSD estimates for beta regression / GAMs
scale_color_phontrast | Okabe-Ito discrete color and fill scales
scale_colour_phontrast | Okabe-Ito discrete color and fill scales
scale_fill_phontrast | Okabe-Ito discrete color and fill scales
speaker_bhatt | Bhattacharyya distance by group
speaker_jsd | Group-level JSD point estimates
speaker_pillai | Group-level Pillai scores
theme_phontrast | Publication theme for phontrast plots