slab: Which time steps fall within two extreme values

View source: R/api.R

slabR Documentation

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)

Arguments

x, extremes, rightmost.closed

See slice().

Value

See slice().

Examples

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

CFtime documentation built on April 12, 2025, 5:07 p.m.