R/seq2.R

Defines functions seq2

Documented in seq2

seq2 <- function(from, to) {
  if (from > to) {
    integer()
  }
  else {
    seq.int(from, to)
  }
}

Try the eatTools package in your browser

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

eatTools documentation built on Nov. 23, 2023, 5:06 p.m.