vowel.angles: Computes vector angles of vowel vectors of vowels.The vowel...

View source: R/vfd.R

vowel.anglesR Documentation

Computes vector angles of vowel vectors of vowels.The vowel space is constructed by the supplied F1 and F2 formant values.

Description

Computes vector angles of vowel vectors of vowels.The vowel space is constructed by the supplied F1 and F2 formant values.

Usage

vowel.angles(f1, f2, na.rm = TRUE, center = NULL, center.method = "wcentroid")

Arguments

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 vowelspace.center function.

center.method

The method to use in the calculation of vowel space center. See vowelspace.center for details.

Value

A vector containing the vector angles of each vowel space vector drawn from the origin of teh computed vowel space center coordinates.

Author(s)

Fredrik Karlsson

References

\insertRef

Karlsson:2012vbarticulated

See Also

See vector.space for details concerning the computations.

Examples

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))


FredrikKarlssonSpeech/articulated documentation built on July 20, 2023, 8:20 a.m.