extract_quantities: extract child speech counts, duration and conversational...

Description Usage Arguments Details Value

View source: R/extract_quantities.R

Description

extract child speech counts, duration and conversational turns

Usage

1
extract_quantities(path, turntakingthresh = 1, tiernames = NULL, ...)

Arguments

path

character, path to file with results from yunitator or Elan

turntakingthresh

numeric, the threshold for the time between onsets of two subsequent segments to be considered a turn. Default is 1 second.

tiernames

a list with two elements. By default set to NULL, where tier names are guessed from the data type. If supplied, element 1 (targetchild) should be a character of length one, and the second element (adults) a character vector of any length. See details.

...

additional arguments (currently from and to for read_rttm)

Details

if the supplied file is an .rttm file, the following tier names are assumed: list(targetchild = "CHI", adults = c("FEM", "MAL")). If supplying an .eaf file, tier names are assumed as follows: list(targetchild = "CHI", adults = c("FA1", "MA1")).

Value

a list with three elements.


gobbios/avutils documentation built on Feb. 19, 2020, 9:44 a.m.