powered by
Given a vector of data return as strings formatted as requested
render_f(x, format)
character; formatted values as character strings
numeric; the data to format. Must work with quantile function.
numeric or character; If numeric preserve that many position past the decimal, if character pass directly into sprintf as format string
render_f(rnorm(5), 3) render_f(round(rnorm(5), 2), "%010.03f")
Run the code above in your browser using DataLab