makeTimeWindows: Helper function that creates temporal windows in datasets

Description Usage Arguments Value Examples

View source: R/makeTimeWindows.R

Description

This creates a set of temporal windows of specified size so that metrics can be computed within those windows.

Usage

1
makeTimeWindows(inputData, timeVar, windowSize)

Arguments

inputData

data.frame that has data over time, usually within a single meeting

timeVar

name of a numeric column that contains the time variable you want to use

windowSize

numeric value giving the length of time window

Value

list with two data.frames:

Examples

1
2
win.out = makeTimeWindows(sample_transcript_processed, 
timeVar="utteranceStartSeconds", windowSize=10)

zoomGroupStats documentation built on May 13, 2021, 5:06 p.m.