R/step.R

Defines functions step

Documented in step

#' Step
#'
#' @param x A numeric atomic object.
#' @family translations
#' @return A logical value.
#' @export
#'
#' @examples
#' step(1)

step <- function(x) {
  chk_numeric(x)
  x >= 0
}

Try the extras package in your browser

Any scripts or data that you put into this service are public.

extras documentation built on May 31, 2023, 6:22 p.m.