paste_median | R Documentation |
Creates a formatted median with inter-quartile range from numeric data.
paste_median(x, less.than.one = FALSE, digits = 1)
x |
A numeric. Data to summarize. |
less.than.one |
A logical. Indicates a median that rounds to 0 should be printed as <1. |
digits |
An integer. Number of digits to round to. |
A character vector of the median(s) with interquartile range(s).
paste_median(mtcars$mpg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.