bc: sequence for a loop

Description Usage Arguments Value Examples

View source: R/f0.rbsb1.code.r

Description

This function returns 1:nb when nb > 0 and numeric(0) otherwise.
Quite useful to prevent starting a loop of length nought

Usage

1
bc(nb)

Arguments

nb

length of the loop

Value

1:nb if nb > 0 else numeric(0).

Examples

1
2
 bc(0);
 bc(5);

rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to bc in rbsb...