extractPeriods: Extract periods in dateTime sequences

Description Usage Arguments Value Author(s) Examples

View source: R/timeline_tools.R

Description

extractPeriods extracts the different sequences of observations in a dateTime sequence.

Usage

1
extractPeriods(x, sep = 7, unit = "days", id = NULL, burst = NULL)

Arguments

x

POSIXct objects, a sequence of dateTime

sep

maximum time of holes in date before introducing a new burst

unit

unit of sep. Default "days"

id

name of the sequence id

burst

name of the sequence burst

Value

a dataframe with all periods and their date of begin (startPeriod) and end (endPeriod)

Author(s)

Simon Chamaille-Jammes, simon.chamaille@cefe.cnrs.fr

Examples

1

rpatin/gpstools documentation built on Sept. 25, 2021, 7:47 a.m.