assigns the prr constants

Share:

Description

defines or returns the constants used within /prr/. The performed action depends on the argument.

Usage

1
prr3k(whi)

Arguments

whi

a character(1) indicating either to reset or to return the names or the current values. The three possible values are RESET, reset, names, definitions or values.

Value

When whi=="RESET" or whi=="reset" nothing (but the assignments of the layer(s) prr are performed).
When whi=="names" the names as a character vector are returned.
When whi=="definitions" the definitions as a named character vector are returned.
When whi=="values" the values through a named list are returned.

Examples

1
2
3
 prr3k("RESET");
 prr3k("names");
 prr3k("values");

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.