Description Usage Arguments Details Value Examples
(bc)
This function returns 1:nb when nb > 0 and
numeric(0) otherwise.
Quite useful to prevent starting
a loop of length nought
(bd)
This function returns n1:n2 when n1<=n2 and
numeric(0) otherwise.
Quite useful when some insertion must be done within
a sequence
(bf)
This function returns 1:length(x) when length(x) > 0 and
numeric(0) otherwise.
Quite useful to prevent starting
a loop of length nought
1 2 3 4 |
nb |
length of the loop |
n1 |
first element |
n2 |
second element |
x |
vector |
nb is rounded before use
(bc)
1:nb if nb > 0
else numeric(0).
(bd)
n1:n2 if n1<n2
else numeric(0).
(bf)
1:length(x) if length(x) > 0
else numeric(0).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.