Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tools for phoneticians and phonologists
HTML R TeX CSS Shell
branch: master

README.md

DOI

phonR

tools for phoneticians and phonologists

Just want to learn to use phonR? Read the tutorial vignette.

This is a package for the R language built for phoneticians and phonologists. Its main claim-to-fame is the plotVowels function, which supports all the standard R output formats (screen, pdf, eps, svg, tiff, png, jpg), and can plot vowel polygons, ellipses, convex hulls, and heatmaps. phonR also allows plotting data points with IPA symbols using custom fonts, and distinguishing speaker groups by color, symbol, and/or linestyle. It also supports plotting diphthongs (or any arbitrary number of measurement timepoints, really), with optional arrowheads for indicating formant movement direction.

The second main offering of phonR is a set of functions for normalization of formant frequency data. Currently there are 8 normalization methods implemented: bark, ERB, Lobanov, log, mel, logmean (“Nearey1”), shared logmean (“Nearey2”), and Watt-Fabricius. A third capability of phonR worth highlighting is the implementation of repulsive force calculations, and the ability to plot heatmaps to represent repulsive force across the vowel space. Helper functions are also included for calculating the area of a vowel space polygon or convex hull.

Need to cite phonR? The R command citation("phonR") will work, but I prefer including the URL or DOI at the end like this:

McCloy, Daniel (2015). “phonR: Tools for phoneticians and phonologists.” R package version 1.0-1. http://drammock.github.io/phonR/

McCloy, Daniel (2015). “phonR: Tools for phoneticians and phonologists.” R package version 1.0-1. doi:10.5281/zenodo.15878

Something went wrong with that request. Please try again.