Skip to contents

This identifies where NA values in the time series sit

Usage

naRun(dateTime = NULL, value = NULL, timestep = 900)

Arguments

dateTime

The date and time series

value

The observed data

timestep

The time step used applied in the observed data in seconds

Value

A data.table containing the start and end points of NA runs

Examples

data(bewdley)
nas <- naRun(bewdley$data$dateTime,
             bewdley$data$value,
             timestep = 900)
nas
#> Empty data.table (0 rows and 6 cols): id,startTime,endTime,startPos,endPos,timeSteps