vowel.angles | R Documentation |
Computes vector angles of vowel vectors of vowels.The vowel space is constructed by the supplied F1 and F2 formant values.
vowel.angles(f1, f2, na.rm = TRUE, center = NULL, center.method = "wcentroid")
f1 |
A vector of F1 values. |
f2 |
A vector of F2 values. |
na.rm |
Boolean value specifying whether missing values should be removed. Defaults to TRUE. |
center |
A vector (F2,F1) specifying the vowel space center to be used. If NULL, the center will be calculated using the |
center.method |
The method to use in the calculation of vowel space center. See |
A vector containing the vector angles of each vowel space vector drawn from the origin of teh computed vowel space center coordinates.
Fredrik Karlsson
Karlsson:2012vbarticulated
See vector.space
for details concerning the computations.
data(pb)
with(pb,vowel.angles(F1,F2))
with(with(pb,data.frame(angle=vowel.angles(F1,F2),vowel=Vowel)),tapply(angle,list(vowel),mean,na.rm=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.