R/seq.R

Defines functions seq

Documented in seq

#' Sequence
#'
#' @description
#' Generate a numeric sequence.
#'
#' @details
#' Create a numeric vector that is a sequence starting at the
#' first argument, ending at the second, and incrementing by
#' the third.
#'
#' `seq(from, to, by)`
#'
#' @usage
#'
#' @examples
#' seq(0, 1, by = .2)
#'
#' #> [1] 0.0 0.2 0.4 0.6 0.8 1.0
#'
#' -----------------------------------
#'
#'# Sequences can go backwards:
#' seq(100, 0, by = -10)
#'
#' #> [1] 100  80  60  40  20   0
#'
#' @export
#' @seealso
#'
#' [rep()], [c()], [sample()]
#'
seq <- function(){}
cobriant/qelp documentation built on July 1, 2022, 7:24 a.m.