Description Usage Arguments Examples
This function allows you to easily paste a median and IQR into a readable form for tables, graphs, text, etc...
1 | median_IQR(x, na.rm = FALSE, digits = 2, IQR.type = 7)
|
x |
A vector of numeric data to summarize |
na.rm |
Remove NAs from x |
digits |
Number of decimals to round to |
IQR.type |
The type parameter to be passed to stats::IQR() |
1 2 | x <- rnorm(100)
median_IQR(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.