Learn R Programming

CFtime (version 1.6.0)

slab: Which time steps fall within two extreme values

Description

Avoid using this function, use slice() instead. This function will be deprecated in the near future.

Usage

slab(x, extremes, rightmost.closed = FALSE)

Value

See slice().

Arguments

x, extremes, rightmost.closed

See slice().

Examples

Run this code
t <- CFtime("hours since 2023-01-01 00:00:00", "standard", 0:23)
slab(t, c("2022-12-01", "2023-01-01 03:00"))

Run the code above in your browser using DataLab