burstBounds: Find or define boundaries of sampling bursts in time series

Description Usage Arguments Details Value

View source: R/burstBounds.R

Description

Find or define boundaries of sampling bursts in a time series

Usage

1
burstBounds(x, Fs, burstLength = NULL)

Arguments

x

A vector of POSIXct time stamps

Fs

Sampling rate, units of Hertz (samples per second)

burstLength

Desired length, in minutes, of sampling bursts to be analyzed

Details

This function searches for natural breaks in a time series, or defines a set of breaks based on the desired length of sampling bursts to be analyzed.

Value

A vector of row indices from input vector x that define time chunks to be analyzed. Each value is the start and end of a time chunk (except the 1st and last values of the vector)


millerlp/owhlR documentation built on April 6, 2020, 9:46 a.m.