View source: R/gl.check.verbosity.r
| gl.check.verbosity | R Documentation |
Resolves the verbosity level for a dartR function. Most dartR functions
call it first, as verbose <- gl.check.verbosity(verbose).
gl.check.verbosity(x = NULL)
x |
User requested level of verbosity, a single number from 0 to 5, or NULL to use the global default [default NULL]. |
The verbosity comes from one of three sources, in this order of precedence:
the value passed by the user in the function's verbose
argument;
the global default set with gl.set.verbosity,
stored as the R option dartR_verbose;
the value 2, when neither of the above is set.
A valid value is a single number from 0 to 5. Any other value (out of
range, non-numeric, NA, or a vector of length other than one),
whether passed as x or found in the global option, prints a
warning and is replaced by 2.
The verbosity level to use, a single number from 0 to 5.
Author(s): Bernd Gruber. Custodian: Bernd Gruber (Post to https://groups.google.com/d/forum/dartr)
Other environment:
gl.check.wd(),
gl.print.history(),
gl.recalc.metrics(),
gl.set.verbosity(),
gl.set.wd(),
theme_dartR()
gl.check.verbosity()
gl.check.verbosity(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.