sprintf_format | R Documentation |
sprintf
format stringSpecify text format via a sprintf
format string
sprintf_format(format)
format |
( |
A formatting function which wraps and applies the specified sprintf
-style format
to string format
.
sprintf()
fmtfun <- sprintf_format("(N=%i")
format_value(100, format = fmtfun)
fmtfun2 <- sprintf_format("%.4f - %.2f")
format_value(list(12.23456, 2.724))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.