nice_iqr | R Documentation |
This function is especially useful when used in Rmarkdown documents
nice_iqr(x, to = TRUE, ...)
x |
Vector to calculate IQR from |
to |
Whether values should be separated by "to", alternative is "-" |
... |
Arguments passed to bernr::comma() |
A character object
set.seed(1) x <- rnorm(10) nice_iqr(x) # "-0.5 to 0.6"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.