# Sample R script to illustrate the IPA symbols usage # in graphs. # # Author: Romeo Mlinar # Mail: mlinar [a] languagebits.com # # Url: http://www.languagebits.com/?p=766 # Diphthongs in ASCII diph.names.ascii <- c('ey', 'ey', 'ay', 'ay', 'oy', 'oy', 'ow', 'ow', 'aw', 'aw', 'ia', 'ia', 'ea', 'ea', 'ua', 'ua') # Diphthong in hexadecimal values # Available from: http://www.phon.ucl.ac.uk/home/wells/ipa-unicode.htm diph.names.ipa <- c('e\u026A', 'a\u026A', '\u0254\u026A', '\u0259\u028A', '\u0251\u028A', '\u026A\u0259', '\u025B\u0259', '\u028A\u0259') # Sample data data.sample <- c(1:8) # Make data frame for values toplot <- data.frame( diph.names.ipa, data.sample) #Draw a simple graph. plot(toplot, main='IPA Symbols in R Graph')