warningf | R Documentation |
Combines warning
with sprintf
thus allowing string interpolated warnings.
warningf(s, ...)
s |
a character vector of format strings |
... |
values to be interpolated |
## Not run:
warningf("%.3f is not larger than %d and/or smaller than %d", pi, 10, 40)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.