timeWithinIntervals: Get a logical vector to know if time points are within a...

Description Usage Arguments Value

View source: R/JoinIntervals.R

Description

Only time points that are within the limit of the interval will return TRUE. For example time point 2 is not in the interval 2 4. Only 3 would return TRUE in this case.

Usage

1

Arguments

x

Integer vector representing time points

s

Integer vector representing the start of intervals

e

Integer vector representing the end of intervals

Value

Logical, whether the time points are within the intervals


kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.