getIsSamplingRegularFunction {moveWindSpeed}R Documentation

A function to generate functions used to check if a segment is regular

Description

A function to generate functions used to check if a segment is regular

Usage

getIsSamplingRegularFunction(isSamplingRegular)

Arguments

isSamplingRegular

a function which decides if a sequence of timestamps is regular or the interval which is considered regular

Value

a function which decides if a sequence of timestamps is regular

Examples

fun<-getIsSamplingRegularFunction(10)
fun(Sys.time()+1:5)
fun(Sys.time()+c(0,10,20,30))
fun(Sys.time()+c(0,10,20,31))

[Package moveWindSpeed version 0.2.4 Index]