get_blocks: Assign blocks to data stream for reintegration

Description Usage Arguments

View source: R/Reintegrate_Utils.R

Description

Assign blocks to data stream for reintegration

Usage

1
get_blocks(ag, time_var, to, start_epoch, block_size, direction)

Arguments

ag

A data frame to reintegrate

time_var

The name of the column containing POSIX-formatted timestamp information

to

The epoch length desired. Starting epoch length will be determined automatically.

start_epoch

The initial epoch length of the data being reintegrated

block_size

The number of rows of data included in each reintegrated epoch

direction

The direction of reintegration, i.e. whether a timestamp refers to the timespan after the previous data point ("backwards"), or before the next data point ("forwards").


AGread documentation built on Feb. 26, 2020, 5:12 p.m.