varco_cv: Varco C & Varco V

View source: R/varco_cv.R

varco_cvR Documentation

Varco C & Varco V

Description

This function loads a dataframe as input and returns a dataframe containing the mean values of Varco C and Varco V.

Usage

varco_cv(df, cv_label, utterance_id, cv_duration)

Arguments

df:

a data frame containing cv_labels, utterance_id, and cv_duration values.

cv_label:

whether a segment is a C(onsonant) or a V(owel)

utterance_id:

each unique utterance should have a unique id

cv_duration:

the duration of C or V

Details

Varco C and Varco V are rhythm metrics based on Dellwo, Volker (2006). Rhythm and Speech Rate: A Variation Coefficient for deltaC. In: Karnowski, P; Szigeti, I. Language and language-processing. Frankfurt/Main: Peter Lang, 231-241.

⁠Varco C: Delta C / mean(C duration) * 100⁠ ⁠Varco V: Delta V / mean(V duration) * 100⁠

Value

varco_cv: a data frame containing the results of Varco C and Varco V values

Author(s)

Cong Zhang, cong.zhang@ru.nl

Examples

df <- data.frame (cv_label  = c("c", "v", "c", "v","c", "v", "c", "v"),
                  utterance_id = c("utt_1", "utt_1", "utt_2", "utt_2",
                                   "utt_1", "utt_1", "utt_2", "utt_2"),
                  cv_duration = c(0.1, 0.8, 0.2, 0.5, 0.3, 0.3, 0.4, 0.7))

varco_cv(df, df$cv_label, df$utterance_id, df$cv_duration)


congzhang365/rhythm.metrics documentation built on March 31, 2024, 5:57 p.m.