Contrast and Separation Metrics for Phonological Categories


[Up] [Top]

Documentation for package ‘phontrast’ version 2.5.0

Help Pages

autoplot.phontrast_contrast Plot a phontrast() result directly
autoplot.phontrast_ranking Plot a rank_contrasts() 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
inspect_contrast Inspect one speaker's contrast across bandwidths
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
percentile_rank Percentile ranks with averaged ties
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.phontrast_ranking Plot a rank_contrasts() 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
plot_rank_agreement Rank-agreement plot for a speaker ranking
prepare_jsd_beta Prepare JSD estimates for beta regression / GAMs
protocol_floors Sample-size floors of the ranking protocol
rank_contrasts Rank speakers' contrasts by Jensen-Shannon distance and check them against Pillai
recommended_estimator Kernel estimator settings by dimensionality
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
vowel_cohort Simulated twelve-speaker vowel cohort