Other packages > Find by keyword >

phontrast  

Contrast and Separation Metrics for Phonological Categories
View on CRAN: Click here


Download and install phontrast package within the R console
Install from CRAN:
install.packages("phontrast")

Install from Github:
library("remotes")
install_github("cran/phontrast")

Install by package version:
library("remotes")
install_version("phontrast", "2.4.1")



Attach the package and use:
library("phontrast")
Maintained by
Grant M. Berry
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-08-09
Latest Update: 2026-08-09
Description:
Computes and compares multiple measures of separation and overlap between phonological categories (for example vowels or consonants) in arbitrary multi-dimensional acoustic spaces such as formant values, mel-frequency cepstral coefficients (MFCCs), duration, or learned embeddings. The main entry point, phontrast(), reports several contrast metrics in one call – Jensen-Shannon divergence and distance (Lin, 1991) <doi:10.1109/18.61115>, the Pillai-Bartlett trace, Bhattacharyya distance and affinity, Mahalanobis distance, and proportional overlap – globally or by group on a common separation-oriented scale, with bootstrap confidence intervals. Also provides utilities for preparing estimates for downstream modelling such as generalized additive models and mixed-effects models. Formerly released as 'phonJSD'.
How to cite:
Grant M. Berry (2026). phontrast: Contrast and Separation Metrics for Phonological Categories. R package version 2.4.1, https://cran.r-project.org/web/packages/phontrast. Accessed 24 Oct. 2026.
Previous versions and publish date:
(2026-10-07 16:40), 2.3.1 (2026-08-09 10:30), 2.4.0 (2026-08-21 19:10), 2.4.1 (2026-09-01 09:50)
Other packages that cited phontrast R package
View phontrast citation profile
Other R packages that phontrast depends, imports, suggests or enhances
Complete documentation for phontrast
Functions, R codes and Examples using the phontrast R package
Full phontrast package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
FDRsampsize  
Compute Sample Size that Meets Requirements for Average Power and FDR
Defines a collection of functions to compute average power and sample size for studies that use the ...
Download / Learn more Package Citations See dependency  
magicfor  
Magic Functions to Obtain Results from for Loops
Magic functions to obtain results from for loops. ...
Download / Learn more Package Citations See dependency  
forecastHybrid  
Convenient Functions for Ensemble Time Series Forecasts
Convenient functions for ensemble forecasts in R combining approaches from the 'forecast' package. ...
Download / Learn more Package Citations See dependency  
gemlog  
File Conversion for "Gem Infrasound Logger"
Reads data files from the 'Gem infrasound logger' for analysis and converts to segy format (which is ...
Download / Learn more Package Citations See dependency  
climwin  
Climate Window Analysis
Contains functions to detect and visualise periods of climate sensitivity (climate windows) for a g ...
Download / Learn more Package Citations See dependency  

29,080

R Packages

247,686

Dependencies

77,281

Author Associations

29,081

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA