View source: R/helper-format.R
render_f | R Documentation |
Given a vector of data return as strings formatted as requested
render_f(x, format)
x |
numeric; the data to format. Must work with quantile function. |
format |
numeric or character; If numeric preserve that many position past the decimal, if character pass directly into sprintf as format string |
character; formatted values as character strings
render_f(rnorm(5), 3) render_f(round(rnorm(5), 2), "%010.03f")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.