compute.means(vowels)
compute.means()所属R语言包:vowels
Compute the Formant Means (or Medians or Standard Deviations) of a Data Frame of Vowel Data
一个数据框的元音数据计算共振峰均值(中位数或标准差)
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the mean formant values (or medians or standard deviations) for uniquely named vowels, in a data frame of vowel formant data.
计算的平均共振峰的值(或中位数或标准偏差)为唯一命名的元音,一个数据框中的元音共振峰数据。
用法----------Usage----------
compute.means(vowels, separate=FALSE, speaker=NA)
compute.medians(vowels, separate=FALSE, speaker=NA)
compute.sds(vowels, separate=FALSE, speaker=NA)
参数----------Arguments----------
参数:vowels
a required data frame of one of two formats - either: speaker_id, vowel_id, context, F1, F2, F3, F1_glide, F2_glide, F3_glide, or: speaker_id, vowel_id, context, F1, F2, F1_glide, F2_glide. The context column and glide columns can be blank.
所需的数据框的两种格式之一 - 无论是:speaker_id,vowel_id,上下文,F1,F2,F3,F1_glide,F2_glide F3_glide,或:speaker_id,vowel_id,上下文,F1,F2,F1_glide,F2_glide。的背景柱和滑翔列可以为空。
参数:separate
if TRUE, calculates means separately for each speaker_id in the vowels data frame. Otherwise, if FALSE, the default, calculates one set of means over all speakers. "separate" trumps "speaker"
如果为TRUE,计算方式分别为每个speaker_id在元音数据框。否则,如果为FALSE,默认情况下,计算一组的所有扬声器的手段。 “独立的”王牌“喇叭”
参数:speaker
optionally, the speaker_id to extract from the data frame for averaging. If NA, the default, the function averages across all speakers in the data frame
任选,speaker_id,用于平均从数据框中提取。如果NA,默认情况下,该功能在所有扬声器的平均数据框中的
Details
详细信息----------Details----------
Compute the mean formant values the median formant values or the standard deviations in vowel formant data data frames. These can take either a data frame with F1, F2, and F3 data or just one with F1 and F2 data (such as that resulting from Lobanov or Watt \& Fabricius normalization)
计算的平均共振峰值中位数的共振峰元音的共振峰数据的数据框的值或标准差。这些可以采取一个数据框F1,F2,和F3的数据或者只是具有F1和F2的数据(如,导致从洛巴诺夫或瓦特\&法氏囊标准化)
compute.sds() mostly exists for use by the add.spread.vowelplot() function.
compute.sds()大多存在用于由add.spread.vowelplot()函数。
值----------Value----------
compute.means() and compute.medians() return either a data frame in the format speaker_id, vowel_id, N, F1, F2, F3, F1_glide, F2_glide, F3_glide with the attribute "mean.values" == TRUE or a data frame in the format speaker_id, vowel_id, N, F1, F2, F1_glide, F2_glide with the attributes "mean.values" == TRUE and "no.f3s" == TRUE. The resulting data frame also has whatever value (if any) the input data frame had for the attributes "norm.method" and "norm.variant"
compute.means()和compute.medians的()返回的数据框中格式speaker_id,vowel_id,N,F1,F2,F3,F1_glide,F2_glide,具有属性“mean.values F3_glide”== TRUE或一个数据框中的格式speaker_id vowel_id,N,F1,F2,F1_glide,F2_glide与属性“mean.values”== TRUE和“no.f3s”== TRUE。由此产生的数据框的任何值(如果有的话)的输入数据框的属性“norm.method”和“norm.variant的”
警告----------Warning ----------
The development of the library and this function are ongoing. The arguments to the function may change in future version.
该库开发的功能,该功能仍在进行中。在未来版本的功能的参数可能会改变。
(作者)----------Author(s)----------
Kendall, Tyler <tsk3@duke.edu>
参考文献----------References----------
参见----------See Also----------
norm.lobanov, norm.wattfabricius, vowelplot add.spread.vowelplot
norm.lobanov,norm.wattfabricius,vowelplotadd.spread.vowelplot
实例----------Examples----------
vowels <- load.vowels("http://ncslaap.lib.ncsu.edu/tools/norm/downloads/CentralOhioNORM.txt")
means <- compute.means(vowels)
vowelplot(means, color="vowels", labels="vowels")
ohd.means <- compute.means(vowels, speaker="OHDMTV_M")
vowelplot(ohd.means, color="vowels", labels="none")
add.spread.vowelplot(vowels, speaker="OHDMTV_M", color="vowels", sd.mult=1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|