add_lena_stats | R Documentation |
Add LENA stats to each interval in a dataframe
add_lena_stats(its_xml, intervals, time_type = c("wav", "wall"))
its_xml |
XML object created by |
intervals |
A tibble with columns |
time_type |
Either |
Same as intervals
but with three new columns: cvc
, ctc
, and
awc
.
Any its segment overlapping with multiple intervals will count fully towards all of them.
The difference between this function and calculate_lena_like_stats
is that the latter calculates exactly the same stats but does it for every
five minute period of wall time (e.g., 13:00-13:05). It should be rewritten
to first create these intervals and then use add_lena_stats
to avoid code
repetition (see issue #).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.