Description Usage Arguments Value Examples
View source: R/responsiveness.R
utterances by focus/target role that are responded to by responder within some threshold time and average lag of 'responses' regardless of threshold
1 2 3 | responsiveness(xfile, focus = c("child", "female", "male", "adult"),
responder = c("child", "female", "male", "adult"), threshold = 2,
short_output = TRUE, ...)
|
xfile |
character, file path to rttm or eaf file |
focus |
character, either |
responder |
character, either |
threshold |
numeric, the threshold to be considered (default is
|
short_output |
logical, should the summaries be returned (default is
|
... |
additional arguments (currently |
a list with four items (utterances
: the number of utterances
by focus/target and responder, responses
: the number of responses by
responder
, response_lag
: median lag of first utterance of
responder
after each utterance of focus
and threshold
:
the threshold value used)
1 2 3 4 5 6 7 8 9 10 11 12 | xfile <- system.file("yunitator_english_spanish.rttm", package = "avutils")
responsiveness(xfile, focus = "child", responder = "female")
responsiveness(xfile, focus = "child", responder = "male")
responsiveness(xfile, focus = "child", responder = "adult")
head(responsiveness(xfile,
focus = "child",
responder = "adult",
short_output = FALSE))
# with a subset (second minute of annotations)
responsiveness(xfile, focus = "child", responder = "female", from = 60, to = 120)
responsiveness(xfile, focus = "child", responder = "female")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.