Description Usage Arguments Details Value Examples
View source: R/f0.rbsb1.code.r
defines or returns the constants used within /rbsb00/. The performed action depends on the argument.
1 | rbsb3k(whi)
|
whi |
a character(1) indicating either to reset or to return the
names or the current values. The three values are |
All constant names start with 'rbsb.'. This solution was adopted to
replace a set of global constants that I had difficulty to make
acceptable with R packages standards. It is recommended not to modify
these constants unless you are completely aware of the
consequences.
The constants can be any object type.
Notice that
two constants rbsb.null
and rbsb.pko
must be updated by
the package3k
function of children packages of /rbsb/.
When whi=="RESET"
nothing (but the assignments are performed
for all layers: only rbsb
since it is the first one.).
When
whi=="reset"
nothing (but the assignments of the layer
rbsb
are performed).
When whi=="names"
the names as
a character vector.
When whi=="definitions"
the definitions
as a named character vector.
When whi=="values"
the values
through a named list.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.