ss_timesplitter: Carves a dataframe into a list based on time indices.

View source: R/ss_timesplitter.R

ss_timesplitterR Documentation

Carves a dataframe into a list based on time indices.

Description

Given a data frame, carves a list into chunks based on vectors of times. Functionally vectorizes dplyr::filter

Usage

ss_timesplitter(df, timer, timer2, column = "elapsed")

Arguments

df

The dataframe to be split.

timer

A vector of times to split the chosen column by, start of each interval.

timer2

A vector of times to split the chosen column by, end of each interval.


poales/sharkeySpec documentation built on July 22, 2022, 10:28 a.m.