getIsSamplingRegularFunction: A function to generate functions used to check if a segment...

View source: R/functions2.R

getIsSamplingRegularFunctionR 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))

moveWindSpeed documentation built on June 7, 2023, 6:08 p.m.