File: slab.Rd

package info (click to toggle)
r-cran-cftime 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,752 kB
  • sloc: sh: 13; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api.R
\name{slab}
\alias{slab}
\title{Which time steps fall within two extreme values}
\usage{
slab(x, extremes, rightmost.closed = FALSE)
}
\arguments{
\item{x, extremes, rightmost.closed}{See \code{slice()}.}
}
\value{
See \code{slice()}.
}
\description{
Avoid using this function, use \code{\link[=slice]{slice()}} instead. This function will be
deprecated in the near future.
}
\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"))
}