Seq: Produce constrained sequences

Description Usage Arguments Value

View source: R/Rdata.R

Description

This is a wrapper around seq that adds constraints. Setting ascending, descending to NA reverts to standard seq behaviour.

Usage

1
Seq(from, to, ..., ascending = TRUE, descending = !ascending, neg = FALSE)

Arguments

from

starting value

to

ending value

...

parameters passed on to seq

ascending

restrict sequences to be ascending; return empty list if to < from

descending

restrict sequences to be descending; return empty list if from < to

neg

boolean to indicate wheter sequence should be negated before return

Value

sequence from from to to


sboehringer/gwasWeighted documentation built on Dec. 22, 2021, 10:19 p.m.