stopf | R Documentation |
This helper combines stop
function with sprintf
thus allowing string interpolated messages when execution is halted.
stopf(s, ...)
s |
a character vector of format strings |
... |
values to be interpolated |
a string containing message that follows execution termination
## Not run: stopf("%.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.